The (level, message) pairs logged under the `anthropic.lib.threads` logger or its children.
(caplog: pytest.LogCaptureFixture)
| 952 | |
| 953 | |
| 954 | def thread_logs(caplog: pytest.LogCaptureFixture) -> list[tuple[int, str]]: |
| 955 | """The (level, message) pairs logged under the `anthropic.lib.threads` logger or its children.""" |
| 956 | return [(level, message) for name, level, message in caplog.record_tuples if name.startswith(THREADS_LOGGER)] |
no outgoing calls