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