(iterable: Iterable[T], counter: Optional[Counter] = None)
| 127 | |
| 128 | |
| 129 | async def _make_async_iterator(iterable: Iterable[T], counter: Optional[Counter] = None) -> AsyncIterator[T]: |
| 130 | for item in iterable: |
| 131 | if counter: |
| 132 | counter.value += 1 |
| 133 | yield item |
| 134 | |
| 135 | |
| 136 | def _get_open_connections(client: Anthropic | AsyncAnthropic) -> int: |
no outgoing calls
no test coverage detected