Return a hashable tuple of primitive Python types.
(self, **kwargs)
| 155 | return attr.asdict(self) |
| 156 | |
| 157 | def to_tuple(self, **kwargs): |
| 158 | """ |
| 159 | Return a hashable tuple of primitive Python types. |
| 160 | """ |
| 161 | return to_tuple(self.to_dict(**kwargs)) |
| 162 | |
| 163 | @classmethod |
| 164 | def from_dict(cls, mapping): |
no test coverage detected