We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e983bd0 commit c9c1a35Copy full SHA for c9c1a35
elasticsearch/compat.py
@@ -106,7 +106,7 @@ def run() -> None:
106
107
108
@asynccontextmanager
109
-async def safe_task(coro: Coroutine[Any, Any, Any]) -> AsyncIterator[asyncio.Task[Any]]:
+async def safe_task(coro: Coroutine[Any, Any, Any]) -> "AsyncIterator[asyncio.Task[Any]]":
110
"""Run a background task within a context manager block.
111
112
The task is awaited when the block ends.
0 commit comments