Skip to content

Commit da45390

Browse files
committed
Allow bytes
1 parent 0920f48 commit da45390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/soroban/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ class Argument(BaseModel):
109109
model_config = ConfigDict(arbitrary_types_allowed=True)
110110

111111
type: str
112-
value: int | str | xdr.SCVal
112+
value: int | bytes | str | xdr.SCVal
113113

114114

115115
class Parameter(Argument):
116116
name: str
117-
value: int | str | xdr.SCVal | list[Argument | xdr.SCVal]
117+
value: int | bytes | str | xdr.SCVal | list[Argument | xdr.SCVal]
118118

119119
@model_validator(mode="after")
120120
def value_to_scval(self) -> "Parameter":

0 commit comments

Comments
 (0)