示例#1
0
 def wrapper(self, *args):
     if hasattr(self, '_container_ref') and self._container_ref:
         raise base.ImmutableException()
     return func(self, *args)
示例#2
0
 def wrapper(self, *args):
     if self._secret_ref:
         raise base.ImmutableException()
     return func(self, *args)