mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix: use direct AsyncGenerator annotation instead of string
This commit is contained in:
parent
3a49b5b879
commit
bf9bb18c31
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ else:
|
|||
|
||||
async def _async_file_chunks(
|
||||
fp: Any, chunk_size: int = 65536
|
||||
) -> "AsyncGenerator[bytes, None]":
|
||||
) -> AsyncGenerator[bytes, None]:
|
||||
"""Async generator that reads a sync file-like object in chunks via a thread executor.
|
||||
|
||||
Dispatches each blocking disk read to a thread pool via anyio so the async
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue