Get a string representation.
(self)
| 82 | return cls(**model.model_dump(exclude={'cookies'}), cookies=cookies) |
| 83 | |
| 84 | def __repr__(self) -> str: |
| 85 | """Get a string representation.""" |
| 86 | return f'<{self.__class__.__name__} {self.get_state(as_dict=False)}>' |
| 87 | |
| 88 | def __eq__(self, other: object) -> bool: |
| 89 | """Compare two sessions for equality.""" |