]> 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:05:37 +0000 (13:05 -0400)
commitd49dfa74e86778eb5c581470405131ed9f9d0206
treead7ad946e353a7ef9fa497ee39bad252ed3a9104
parent148711cb8515a19b6177dc07655cc6e652de0553
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
doc/build/orm/backref.rst
doc/build/orm/cascades.rst
doc/build/orm/relationships.rst
lib/sqlalchemy/orm/_orm_constructors.py