Returns function response ids found in an event.
(event: Event)
| 299 | |
| 300 | |
| 301 | def _event_function_response_ids(event: Event) -> set[str]: |
| 302 | """Returns function response ids found in an event.""" |
| 303 | function_response_ids: set[str] = set() |
| 304 | for function_response in event.get_function_responses(): |
| 305 | if function_response.id: |
| 306 | function_response_ids.add(function_response.id) |
| 307 | return function_response_ids |
| 308 | |
| 309 | |
| 310 | def _longest_self_contained_prefix(events: list[Event]) -> list[Event]: |
no test coverage detected