Convert self to a tuple containing all the attributes/keys that are not `None`.
(self)
| 99 | super().__setattr__(key, value) |
| 100 | |
| 101 | def to_tuple(self) -> Tuple[Any]: |
| 102 | """Convert self to a tuple containing all the attributes/keys that are not `None`.""" |
| 103 | return tuple(self[k] for k in self.keys()) |
| 104 | |
| 105 | |
| 106 | @dataclass |
no outgoing calls
no test coverage detected