def to_data(self) -> Any:
    'Converts the object to its JSON-serializable Python data representation.'
    return dict_to_data(copy.deepcopy(self.__dict__))
Converts the object to its JSON-serializable Python data representation.
def to_data(self) -> Any:
    
    return dict_to_data(copy.deepcopy(self.__dict__))