Debian Codegraph @

releasenotes/notes/using_passive_deletes_in_sqlalchemy-4b3006b3aba55155.yaml

raw
1 ---
2 fixes:
3 - |
4 Used "passive_deletes=True" in the configuration of relationships in
5 SQLAlchemy models. This improves deletion of graphs of related objects
6 stored in DB because dependent objects don't get loaded prior to
7 deletion which also reduces the memory requirement on the system.
8 More about using this flag can be found at:
9 http://docs.sqlalchemy.org/en/latest/orm/collections.html#using-passive-deletes