Skip to content

Commit 71dd372

Browse files
committed
chore(internal): codegen related update
1 parent 88c4841 commit 71dd372

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/asktable/_compat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,14 @@ def model_dump(
136136
exclude: IncEx = None,
137137
exclude_unset: bool = False,
138138
exclude_defaults: bool = False,
139+
warnings: bool = True,
139140
) -> dict[str, Any]:
140141
if PYDANTIC_V2:
141142
return model.model_dump(
142143
exclude=exclude,
143144
exclude_unset=exclude_unset,
144145
exclude_defaults=exclude_defaults,
146+
warnings=warnings,
145147
)
146148
return cast(
147149
"dict[str, Any]",

0 commit comments

Comments
 (0)