We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c4841 commit 71dd372Copy full SHA for 71dd372
src/asktable/_compat.py
@@ -136,12 +136,14 @@ def model_dump(
136
exclude: IncEx = None,
137
exclude_unset: bool = False,
138
exclude_defaults: bool = False,
139
+ warnings: bool = True,
140
) -> dict[str, Any]:
141
if PYDANTIC_V2:
142
return model.model_dump(
143
exclude=exclude,
144
exclude_unset=exclude_unset,
145
exclude_defaults=exclude_defaults,
146
+ warnings=warnings,
147
)
148
return cast(
149
"dict[str, Any]",
0 commit comments