]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
reorg bulk persistence into a separate module
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Aug 2022 14:20:49 +0000 (10:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 11 Aug 2022 15:04:01 +0000 (11:04 -0400)
commit6f75807063771496a34b7725d2565acf2528d76f
tree64cdae6565c3001326ccb853eacb96a7c3f2c4ac
parentc4b7f1f7c9745a72f22886e6ca487f3c631a20f5
reorg bulk persistence into a separate module

This restores persistence.py to only functions that are used
by unitofwork.py, and all the "bulk" stuff gets its own
module bulk_persistence.py.  Also fixes up the ORM context
class hierarchy for bulk.

This is all ahead of the ORM-insert changes coming in, so that
the later review can be about logic and not about reorganization.

Change-Id: I035896e9e77fcece866d246edf30097cccad0182
lib/sqlalchemy/orm/bulk_persistence.py [new file with mode: 0644]
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/orm/persistence.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py