diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-03-19 16:59:52 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-03-19 16:59:52 -0400 |
commit | 62d6bf4cc33171ac21cd9b4d52701d6af39cfb42 (patch) | |
tree | 5c7702e326c76c52e1f06439598a53424a5ecc4a /lib/sqlalchemy/orm/interfaces.py | |
parent | 0f55ef3beadc6d149fcc2273cb16531fc0a02251 (diff) | |
download | sqlalchemy-62d6bf4cc33171ac21cd9b4d52701d6af39cfb42.tar.gz |
start sketching ideas for a rewritten unit of work.
the basic idea is to bring topological back down to the raw function,
then the whole UOW constructs itself as very fine grained elements with
full dependencies to each other. then a straight execute with a straight sort.
the hope is that the mechanism here would be vastly simpler. while
the presence of a large number of fine-grained records may be expensive
it still is potentially a lot easier to distill into C code, as the
uow's structure now consists of data.
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
-rw-r--r-- | lib/sqlalchemy/orm/interfaces.py | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py index 579101f0d..412fabc23 100644 --- a/lib/sqlalchemy/orm/interfaces.py +++ b/lib/sqlalchemy/orm/interfaces.py @@ -498,24 +498,7 @@ class MapperProperty(object): """ pass - def register_dependencies(self, *args, **kwargs): - """Called by the ``Mapper`` in response to the UnitOfWork - calling the ``Mapper``'s register_dependencies operation. - Establishes a topological dependency between two mappers - which will affect the order in which mappers persist data. - - """ - - pass - - def register_processors(self, *args, **kwargs): - """Called by the ``Mapper`` in response to the UnitOfWork - calling the ``Mapper``'s register_processors operation. - Establishes a processor object between two mappers which - will link data and state between parent/child objects. - - """ - + def get_flush_actions(self, uowtransaction, records, state): pass def is_primary(self): |