class UOWTransaction(object):
Undocumented
Method | __init__ |
Undocumented |
Method | _generate_actions |
Generate the full, unsorted collection of PostSortRecs as well as dependency pairs for this UOWTransaction. |
Method | _per_mapper_flush_actions |
Undocumented |
Method | execute |
Undocumented |
Method | filter_states_for_dep |
Filter the given list of InstanceStates to those relevant to the given DependencyProcessor. |
Method | finalize_flush_changes |
Mark processed objects as clean / deleted after a successful flush(). |
Method | get_attribute_history |
Facade to attributes.get_state_history(), including caching of results. |
Method | has_dep |
Undocumented |
Method | is_deleted |
Return True if the given state is marked as deleted within this uowtransaction. |
Method | memo |
Undocumented |
Method | register_object |
Undocumented |
Method | register_post_update |
Undocumented |
Method | register_preprocessor |
Undocumented |
Method | remove_state_actions |
Remove pending actions for a state from the uowtransaction. |
Method | states_for_mapper_hierarchy |
Undocumented |
Method | was_already_deleted |
Return True if the given state is expired and was deleted previously. |
Instance Variable | attributes |
Undocumented |
Instance Variable | cycles |
Undocumented |
Instance Variable | dependencies |
Undocumented |
Instance Variable | deps |
Undocumented |
Instance Variable | mappers |
Undocumented |
Instance Variable | post_update_states |
Undocumented |
Instance Variable | postsort_actions |
Undocumented |
Instance Variable | presort_actions |
Undocumented |
Instance Variable | session |
Undocumented |
Instance Variable | states |
Undocumented |
Property | _mapper_for_dep |
return a dynamic mapping of (Mapper, DependencyProcessor) to True or False, indicating if the DependencyProcessor operates on objects of that Mapper. |
Property | has_work |
Undocumented |
Mark processed objects as clean / deleted after a successful flush().
This method is called within the flush() method after the execute() method has succeeded and the transaction has been committed.
Undocumented