(stream: AsyncIterator[bytes])
| 688 | |
| 689 | |
| 690 | async def _drain_async(stream: AsyncIterator[bytes]) -> bytes: |
| 691 | parts: list[bytes] = [] |
| 692 | async for chunk in stream: |
| 693 | if chunk: |
| 694 | parts.append(chunk) |
| 695 | return b"".join(parts) |
| 696 | |
| 697 | |
| 698 | async def _stream_response_to_exchange( |
no test coverage detected
searching dependent graphs…