]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix missing back_populates in Note.item relationship in example code (#12925)
authorkrave1986 <krave@qq.com>
Mon, 20 Oct 2025 20:06:31 +0000 (04:06 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Oct 2025 20:06:31 +0000 (22:06 +0200)
commit1220858a0c5e85d4600b249dc3ae9412e01608ad
treedfe1ffaeeb5eaf5097dfacf9c61874a67979aa71
parent09e3637fef575bc64939ae086336a2d6602a9512
Fix missing back_populates in Note.item relationship in example code (#12925)

Without back_populates, the subsequent code would not automatically populate Item.notes or generate the key, which contradicts what the documentation intends to demonstrate.
doc/build/orm/collection_api.rst