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

REFACTORING: Migrate SQLAlchemy models to new syntax #30

Open
quentin-burg opened this issue Dec 18, 2023 · 1 comment
Open

REFACTORING: Migrate SQLAlchemy models to new syntax #30

quentin-burg opened this issue Dec 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@quentin-burg
Copy link
Collaborator

See https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#orm-declarative-models

It's more succinct and it fix the Pylance error with Column type when we want to access to attribute.

@quentin-burg quentin-burg added the enhancement New feature or request label Dec 18, 2023
@aguillon
Copy link
Collaborator

I don't understand this, can you giff an example pls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants