You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a Hero model (with table=False) and a HeroTable model (with table=True) with an UUID type.
Validate both models from a JSON string containing an UUID in string representation.
Validate both models from a Python dict containing an UUID in string representation.
Expectation would be that all instances contain the same information. Instead, the JSON parsed instance from HeroTable did not parse the UUID into an UUID instance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
Hero
model (withtable=False
) and aHeroTable
model (withtable=True
) with an UUID type.Expectation would be that all instances contain the same information. Instead, the JSON parsed instance from
HeroTable
did not parse the UUID into an UUID instance.Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.22
Python Version
3.12.6
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions