def __before_delete(collection, _sa_initiator=None):
 executor = collection._sa_adapter
 if executor:
  executor.fire_pre_remove_event(_sa_initiator)

def __before_delete ( collection , _sa_initiator = None ) : executor = collection . _sa_adapter if executor : executor . fire_pre_remove_event ( _sa_initiator )
special method to run commit existing value methods .