String attribute not being populated on specific model #736
Unanswered
JamesHutchison
asked this question in
Questions
Replies: 0 comments
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
I don't have a reproducing example yet, but for some reason this model is ignoring the string attributes redeemer_name and redeemer_org and setting them to
None
The custom classes / functions don't affect anything.
Creating a minimal example with just strings in a table, it passes, so there's something specific about this class that's breaking it. The other fields are set just fine.
redeemed_by_org
andredeemed_by_name
are just strings.Description
Instantiating a specific class
Operating System
Linux
Operating System Details
Debian
SQLModel Version
0.0.12 and 0.0.14
Python Version
3.11.4
Additional Context
I'll see if I can boil this down to a specific, reproducible example later, but it will be time consuming. If someone already knows the cause or about this then that would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions