(self)
| 67 | raw: str |
| 68 | |
| 69 | def to_dict(self) -> Dict[str, Any]: |
| 70 | return { |
| 71 | 'ts': datetime.fromtimestamp(self.ts).isoformat(), |
| 72 | 'direction': self.direction, |
| 73 | 'prefix': self.prefix, |
| 74 | 'command': self.command, |
| 75 | 'params': self.params, |
| 76 | 'raw': self.raw[:500], |
| 77 | } |
| 78 | |
| 79 | |
| 80 | @dataclass |
no outgoing calls
no test coverage detected