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
When using sqlmodel with asyncpg the read/writes of List[str] fields fail. The table is created correctly as text type, but then it doesn't convert the list to a string when trying to save it.
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
When using
sqlmodel
withasyncpg
the read/writes ofList[str]
fields fail. The table is created correctly as text type, but then it doesn't convert the list to a string when trying to save it.Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.10.6
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions