]> 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)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 20 Oct 2025 20:07:41 +0000 (22:07 +0200)
commit441a4f8785650752fb775004cd1534d1d0c37323
tree6d7cf1bacfeab0a200fb2fcce9e371700696dae3
parent876b075a365bbd33be22d11dc9a979b75508fbc6
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.

(cherry picked from commit 1220858a0c5e85d4600b249dc3ae9412e01608ad)
doc/build/orm/collection_api.rst