Description
================================================ warnings summary =================================================
tests/api/test_endpoint.py::test_set_rule_post[1]
/Users/gh/Flask-MonitoringDashboard/tests/api/test_endpoint.py:129: 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 method is now available as Session.get() (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
endpoint = session.query(Endpoint).get(endpoint.id) # reload the endpoint
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================= 138 passed, 1 warning in 12.89s =========================================