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

Potential SQLAlchemy future (2.0) deprecation #123

Open
CrsiX opened this issue Jan 16, 2023 · 0 comments
Open

Potential SQLAlchemy future (2.0) deprecation #123

CrsiX opened this issue Jan 16, 2023 · 0 comments

Comments

@CrsiX
Copy link
Member

CrsiX commented Jan 16, 2023

matebot_core/__main__.py:599: LegacyAPIWarning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings.  Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
  user: Optional[models.User] = session.query(models.User).get(args.identifier)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant