Skip to content

Commit

Permalink
🐛 Don't override __get/setstate__ for OutputData
Browse files Browse the repository at this point in the history
This was just an oversight, as this class was one of the first to have these methods.
  • Loading branch information
liamhuber committed Jan 25, 2024
1 parent 95727c6 commit dbbae00
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pyiron_workflow/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,13 +750,6 @@ def __round__(self):

return self._node_injection(Round)

# Because we override __getattr__ we need to get and set state for serialization
def __getstate__(self):
return dict(self.__dict__)

def __setstate__(self, state):
self.__dict__.update(**state)


class SignalChannel(Channel, ABC):
"""
Expand Down

0 comments on commit dbbae00

Please sign in to comment.