We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d37b852 commit d49a0d6Copy full SHA for d49a0d6
sqlmodel/main.py
@@ -510,7 +510,7 @@ def __init__(__pydantic_self__, **data: Any) -> None:
510
if ((not getattr(__pydantic_self__.__config__, "table", False)
511
or getattr(__pydantic_self__.__config__, "validate", False))
512
and validation_error
513
- ):
+ ):
514
raise validation_error
515
# Do not set values as in Pydantic, pass them through setattr, so SQLAlchemy
516
# can handle them
0 commit comments