Serialize this instance to a Python dictionary.
(self)
| 69 | return str(self.to_json_string()) |
| 70 | |
| 71 | def to_dict(self): |
| 72 | """Serialize this instance to a Python dictionary.""" |
| 73 | output = copy.deepcopy(self.__dict__) |
| 74 | return output |
| 75 | |
| 76 | def to_json_string(self): |
| 77 | """Serialize this instance to a JSON string.""" |