(self, request_id: str)
| 452 | return [_trace_payload(record) for record in records[:limit]] |
| 453 | |
| 454 | def find(self, request_id: str) -> dict[str, Any] | None: |
| 455 | target = str(request_id or "").strip() |
| 456 | if not target: |
| 457 | return None |
| 458 | for record in reversed(self._records): |
| 459 | if record.request_id == target: |
| 460 | return _trace_payload(record) |
| 461 | return None |
| 462 | |
| 463 | def latest_for_session( |
| 464 | self, |