sqlmodel ValueError: has no matching SQLAlchemy type
Given these classes and 1-to-N relationships, I get compile time error: ValueError: <class 'list'> has no matching SQLAlchemy type
referring to the category.py
field todos: list["Todo"]
, while the relation hero/team
does work.
sqlmodel ValueError: has no matching SQLAlchemy type
Given these classes and 1-to-N relationships, I get compile time error: ValueError: <class 'list'> has no matching SQLAlchemy type
referring to the category.py
field todos: list["Todo"]
, while the relation hero/team
does work.
sqlmodel ValueError: has no matching SQLAlchemy type
Given these classes and 1-to-N relationships, I get compile time error: ValueError: <class 'list'> has no matching SQLAlchemy type
referring to the category.py
field todos: list["Todo"]
, while the relation hero/team
does work.