SQLAlchemy Things
Aus Froggis Wissenssammlung
Version vom 14. August 2019, 14:19 Uhr von Froggi (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=== Errors === If this appears (may differ a bit) AttributeError: 'int' object has no attribute '_sa_instance_state' then the variabel, in this case an int…“)
Errors
If this appears (may differ a bit)
AttributeError: 'int' object has no attribute '_sa_instance_state'
then the variabel, in this case an integer should have been an ORM object.
This happens moostly with one-to-many or many-to-many relationships. Make sure your date for the relationship is an ORM object