Skip to content

Commit 05814aa

Browse files
committed
remove assert
1 parent d643ddf commit 05814aa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sqlmodel/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,6 @@ def model_dump(
875875
serialize_as_any: bool = False,
876876
) -> Dict[str, Any]:
877877
if PYDANTIC_MINOR_VERSION >= (2, 7):
878-
assert isinstance(context, Dict)
879878
extra_kwargs: Dict[str, Any] = {
880879
"context": context,
881880
"serialize_as_any": serialize_as_any,

0 commit comments

Comments
 (0)