]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Deprecate :func:`.eagerload` and :func:`.relation`
authorFederico Caselli <cfederico87@gmail.com>
Tue, 10 Mar 2020 18:33:51 +0000 (19:33 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 10 Mar 2020 18:46:31 +0000 (19:46 +0100)
commit71e368081a63b323bea092b379523d8cd0ab3fdb
treef7e4fe750c1c873109f36fbff25c57c45ae19992
parent7187bad366749fea03572dcc88114a49a21525b1
Deprecate :func:`.eagerload` and :func:`.relation`

The :func:`.eagerload` and :func:`.relation` were old
aliases and are now deprecated. Use :func:`.joinedload`
and :func:`.relationship` respectively.

Fixes: #5192
Change-Id: Ie13186e117e93e04a9c19d42fed4ef1af629b465
doc/build/changelog/unreleased_14/5192.rst [new file with mode: 0644]
lib/sqlalchemy/orm/__init__.py
test/orm/test_deprecations.py
test/orm/test_froms.py
test/orm/test_relationships.py