def _pop_object_restoration(self, obj=None): if not restorer.in_restoration(): self._pop_object_orig(obj)
def _push_object_restoration(self, obj): if not restorer.in_restoration(): self._push_object_orig(obj)
def _current_obj_restoration(self): request_id = restorer.in_restoration() if request_id: return restorer.get_saved_proxied_obj(self, request_id) return self._current_obj_orig()