]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fix incorrect with_parent() example
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Jan 2022 14:24:08 +0000 (09:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 6 Jan 2022 14:25:36 +0000 (09:25 -0500)
commitf96e24013c80d933cb8171061be3d316215fe585
tree11935798a8d7ed8ee5b3636b1a5be55b4573d2bc
parent4e61d03dd462877c9ead514cef957bc63a52702b
fix incorrect with_parent() example

The lead example for the with_parent() function
docstring was backwards, based on the standard User/Address
mapping used in the documentation.

Fixes: #7540
Change-Id: Iaff7dc6fdd0c323509231ae5f3122ed76a420915
(cherry picked from commit 21ee595ba9ef3e7abc8982fac7bf488c904cf9c9)
lib/sqlalchemy/orm/util.py