Stand-in for the various session event types — only the fields the runner reads are populated.
| 59 | |
| 60 | |
| 61 | class _StubEvent: |
| 62 | """Stand-in for the various session event types — only the fields the |
| 63 | runner reads are populated.""" |
| 64 | |
| 65 | def __init__(self, type: str, **kw: Any) -> None: |
| 66 | self.type = type |
| 67 | for k, v in kw.items(): |
| 68 | setattr(self, k, v) |
| 69 | |
| 70 | |
| 71 | def _tool_use( |
no outgoing calls