class documentation
class UOWTransaction: (source)
Undocumented
Method | __init__ |
Undocumented |
Method | execute |
Undocumented |
Method | filter |
Filter the given list of InstanceStates to those relevant to the given DependencyProcessor. |
Method | finalize |
Mark processed objects as clean / deleted after a successful flush(). |
Method | get |
Facade to attributes.get_state_history(), including caching of results. |
Method | has |
Undocumented |
Method | is |
Return ``True`` if the given state is marked as deleted within this uowtransaction. |
Method | memo |
Undocumented |
Method | register |
Undocumented |
Method | register |
Undocumented |
Method | register |
Undocumented |
Method | remove |
Remove pending actions for a state from the uowtransaction. |
Method | states |
Undocumented |
Method | was |
Return ``True`` if the given state is expired and was deleted previously. |
Class Variable | transaction |
Undocumented |
Instance Variable | attributes |
Undocumented |
Instance Variable | cycles |
Undocumented |
Instance Variable | dependencies |
Undocumented |
Instance Variable | deps |
Undocumented |
Instance Variable | mappers |
Undocumented |
Instance Variable | post |
Undocumented |
Instance Variable | postsort |
Undocumented |
Instance Variable | presort |
Undocumented |
Instance Variable | session |
Undocumented |
Instance Variable | states |
Undocumented |
Property | has |
Undocumented |
Method | _generate |
Generate the full, unsorted collection of PostSortRecs as well as dependency pairs for this UOWTransaction. |
Method | _per |
Undocumented |
Property | _mapper |
return a dynamic mapping of (Mapper, DependencyProcessor) to True or False, indicating if the DependencyProcessor operates on objects of that Mapper. |
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.
def register_object(self, state:
InstanceState[ Any]
, isdelete: bool
= False, listonly: bool
= False, cancel_delete: bool
= False, operation: Optional[ str]
= None, prop: Optional[ MapperProperty]
= None) -> bool
:
(source)
¶
Undocumented