mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-04-28 04:29:50 +00:00
fix: avoid newer type syntax
This commit is contained in:
parent
c11a24e28e
commit
6eae86427a
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ class BaseModel(pydantic.BaseModel):
|
|||
exclude_none=exclude_none,
|
||||
)
|
||||
|
||||
return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped
|
||||
return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped
|
||||
|
||||
@override
|
||||
def model_dump_json(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue