Example #1
0
 def __setstate__(self, state):
     dataclass_setstate(self, state)
Example #2
0
 def __setstate__(self, state):
     self.is_closing = state.pop('is_closing', self.is_closing)
     dataclass_setstate(self, state)
Example #3
0
 def __setstate__(self, state):
     return dataclass_setstate(self, state)