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

Migrate from SQLAlchemy 1.4 to SQLAlchemy 2.0 #487

Open
7 of 9 tasks
justcool393 opened this issue Feb 7, 2023 · 1 comment · May be fixed by #677
Open
7 of 9 tasks

Migrate from SQLAlchemy 1.4 to SQLAlchemy 2.0 #487

justcool393 opened this issue Feb 7, 2023 · 1 comment · May be fixed by #677
Labels
enhancement New feature or request P2 priority

Comments

@justcool393
Copy link
Collaborator

justcool393 commented Feb 7, 2023

SQLAlchemy 2.0 is the latest and greatest in SQLAlchemy. it features

  • typed declarative properties in a sane way (YAY NO MORE SQUIGGLIES)
  • changes from nullslast to nulls_last
  • zero cost abstractions
  • ...

anyway... here's the steps we need to do to migrate to SQLAlchemy 2.0

https://docs.sqlalchemy.org/en/14/changelog/migration_20.html

@zorbathut
Copy link
Contributor

Given that I haven't heard anyone mention a warning in their code, I'd be fine defaulting SQLALCHEMY_WARN_20 to 1 for the live server.

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

Successfully merging a pull request may close this issue.

2 participants