Skip to content

Commit 20b0259

Browse files
committed
Fix model_dump signature
1 parent 39d8c2c commit 20b0259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlmodel/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@ def model_dump(
868868
exclude_unset: bool = False,
869869
exclude_defaults: bool = False,
870870
exclude_none: bool = False,
871+
exclude_computed_fields: bool = False,
871872
round_trip: bool = False,
872873
warnings: Union[bool, Literal["none", "warn", "error"]] = True,
873874
fallback: Union[Callable[[Any], Any], None] = None,
@@ -893,6 +894,7 @@ def model_dump(
893894
exclude_unset=exclude_unset,
894895
exclude_defaults=exclude_defaults,
895896
exclude_none=exclude_none,
897+
exclude_computed_fields=exclude_computed_fields,
896898
round_trip=round_trip,
897899
warnings=warnings,
898900
**extra_kwargs,

0 commit comments

Comments
 (0)