def invoke_method(self, method, this, context, args, kwargs, skip_stub=False): with helpers.execution_session(self._session): return self._invoke_method(method, this, context, args, kwargs, skip_stub=skip_stub)
def invoke_method(self, method, this, context, args, kwargs, skip_stub=False): with helpers.execution_session(self._session): return self._invoke_method( method, this, context, args, kwargs, skip_stub=skip_stub)
def cleanup_orphans(self, alive_object_ids): with helpers.execution_session(self._session): orphan_ids = self._collect_orphans(alive_object_ids) self._destroy_orphans(orphan_ids) return len(orphan_ids)
def cleanup(self, data): with helpers.execution_session(self._session): return self._cleanup(data)
def load(self, data): with helpers.execution_session(self._session): return self._load(data)