]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
move backref to "legacy"
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Jul 2022 17:05:37 +0000 (13:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Jul 2022 17:22:32 +0000 (13:22 -0400)
commit78fa5961bc37689209df41f5512ecb9cf31bc2e2
treec826871e562fffd75156d879231526b58a58ee23
parentbaff8d67bb286fa934d5b34c222335d19484564e
move backref to "legacy"

in the interests of consistency as well as new typing features,
backref should be considered legacy and is fully superseded
by back_populates.

this commit is for 2.0 /1.4, in 2.0 further updates will be
made for new ORM syntaxes.

Change-Id: Idd3b7a3b07843b73304df69e476dc4239c60b3f8
(cherry picked from commit d49dfa74e86778eb5c581470405131ed9f9d0206)
doc/build/orm/backref.rst
doc/build/orm/cascades.rst
doc/build/orm/relationships.rst
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/relationships.py