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

LegacyAPIWarning: The Query.get() method is considered legacy #3612

Open
FrostyX opened this issue Jan 30, 2025 · 0 comments
Open

LegacyAPIWarning: The Query.get() method is considered legacy #3612

FrostyX opened this issue Jan 30, 2025 · 0 comments

Comments

@FrostyX
Copy link
Member

FrostyX commented Jan 30, 2025

We have probably hundreds of warnigns like this in the test suite:

tests/test_logic/test_builds_logic.py::TestBuildsLogic::test_package_assigned_to_build_initially
  /home/jkadlcik/git/copr/frontend/coprs_frontend/tests/test_logic/test_builds_logic.py:473: LegacyAPIWarning: The Query.get() method is considered legacy as of the 1.x series of SQLAlchemy and becomes a legacy construct in 2.0. The metho
d is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant