Skip to content

Commit

Permalink
fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Dec 11, 2024
1 parent 776806b commit fadfa1f
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@ class WalletGetPermissions(WalletGet):
write: bool
delete: bool

model_config = ConfigDict(
json_schema_extra={
"examples": [
{
**WalletGet.model_config["json_schema_extra"]["examples"][0], # type: ignore
"read": True,
"write": True,
"delete": True,
}
]
}
)


class CreateWalletBodyParams(OutputSchema):
name: str
Expand Down

0 comments on commit fadfa1f

Please sign in to comment.