pow_devel icon indicating copy to clipboard operation
pow_devel copied to clipboard

Primary Key problem with SQLAlchemy >= 1.4.11

Open pythononwheels opened this issue 4 years ago • 2 comments

Leads to error: sqlalchemy.exc.ArgumentError: Mapper mapped class could not assemble any primary key columns for mapped table

pythononwheels avatar Aug 07 '21 20:08 pythononwheels

Need to check the SQLAlchemy changelog. SQLAlchemy has implemented some big API, Package naming and usage changes. Versoin 1.4.x => is the way to SQLAlchemy 2.0

See the => SQLAlchemy 1.4 / 2.0 Tutorial

And the 1.4.x Changelog

pythononwheels avatar Aug 07 '21 20:08 pythononwheels

Need to check DeclarativeBase class changes between 1.4.10 and 1.4.11

pythononwheels avatar Aug 17 '21 09:08 pythononwheels