def __setstate__(self, state: Dict[(str, Any)]) -> None:
    '\n        Parameters\n        ----------\n        state: Dict[str, Any]\n            A dictionary storing the objects attributes.\n        '
    for slot in state:
        setattr(self, slot, state[slot])
Parameters
----------
state: Dict[str, Any]
    A dictionary storing the objects attributes.
def __setstate__(self, state: Dict[(str, Any)]) -> None:
    '\n        Parameters\n        ----------\n        state: Dict[str, Any]\n            A dictionary storing the objects attributes.\n        '
    for slot in state:
        setattr(self, slot, state[slot])