Replies: 1 comment
-
I believe that the problem is due to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
some_foo
is provided while it is not included in the definition of the model.Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.11
Additional Context
I'm trying to include also validation that depends on an
IntEnum
. Consider:This
Transaction(isin="789xyz", ts=datetime(2022, 2, 20), some_foo="bar", kind=1)
works as expected., whileTransaction(isin="789xyz", ts=datetime(2022, 2, 20), some_foo="bar", kind=10)
simply ignores the invalidkind
.Beta Was this translation helpful? Give feedback.
All reactions