fix: fix build error in context.py

This commit is contained in:
Dinesh Yeduguru 2025-03-12 13:00:14 -07:00
parent b7a9c45477
commit eda1197a92

View file

@ -19,7 +19,7 @@ def preserve_contexts_async_generator(
and we need to preserve the context across the event loop boundary. and we need to preserve the context across the event loop boundary.
""" """
async def wrapper(): async def wrapper() -> AsyncGenerator[T, None]:
while True: while True:
try: try:
item = await gen.__anext__() item = await gen.__anext__()