Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primary Key problem with SQLAlchemy >= 1.4.11 #49

Open
pythononwheels opened this issue Aug 7, 2021 · 2 comments
Open

Primary Key problem with SQLAlchemy >= 1.4.11 #49

pythononwheels opened this issue Aug 7, 2021 · 2 comments
Assignees

Comments

@pythononwheels
Copy link
Owner

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

@pythononwheels
Copy link
Owner Author

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 pythononwheels self-assigned this Aug 7, 2021
@pythononwheels pythononwheels changed the title Primary Key problem with SQLAlchemy >= 1.4.12 Primary Key problem with SQLAlchemy >= 1.4.11 Aug 17, 2021
@pythononwheels
Copy link
Owner Author

pythononwheels commented Aug 17, 2021

Need to check DeclarativeBase class changes between 1.4.10 and 1.4.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant