]> 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:20 +0000 (09:25 -0500)
commit21ee595ba9ef3e7abc8982fac7bf488c904cf9c9
tree23cb38128f0f6574f7e7152aba72efd419d2ed64
parentcd0b050ce07e7fe1b46ef8fa2b5aabba9f812e41
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
lib/sqlalchemy/orm/util.py