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