def __getstate__(self) -> Dict[(str, Any)]:
    'The attributes _expr_cached and _hash are\n        used as caches; they can be excluded from\n        serialization without affecting correctness.\n\n        Excluding _expr_cached and _hash from serialization\n        will allow the serialized bytes to be the same for\n        equivalent Node objets.\n\n        Returns\n        -------\n        Dict[str, Any]\n            A dictionary storing the objects attributes.\n        '
    excluded_slots = {'_expr_cached', '_hash'}
    return {slot: getattr(self, slot) for slot in self.__slots__ if (slot not in excluded_slots)}
The attributes _expr_cached and _hash are
used as caches; they can be excluded from
serialization without affecting correctness.

Excluding _expr_cached and _hash from serialization
will allow the serialized bytes to be the same for
equivalent Node objets.

Returns
-------
Dict[str, Any]
    A dictionary storing the objects attributes.
def __getstate__(self) -> Dict[(str, Any)]:
    'The attributes _expr_cached and _hash are\n        used as caches; they can be excluded from\n        serialization without affecting correctness.\n\n        Excluding _expr_cached and _hash from serialization\n        will allow the serialized bytes to be the same for\n        equivalent Node objets.\n\n        Returns\n        -------\n        Dict[str, Any]\n            A dictionary storing the objects attributes.\n        '
    excluded_slots = {'_expr_cached', '_hash'}
    return {slot: getattr(self, slot) for slot in self.__slots__ if (slot not in excluded_slots)}