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.
asyncio.create_task
1 parent e2827ef commit a592a9cCopy full SHA for a592a9c
exec_helpers/async_api/subprocess.py
@@ -188,8 +188,8 @@ async def poll_stderr() -> None:
188
189
result = exec_result.ExecResult(cmd=cmd_for_log, stdin=stdin, started=async_result.started)
190
191
- stdout_task: "asyncio.Future[None]" = asyncio.ensure_future(poll_stdout())
192
- stderr_task: "asyncio.Future[None]" = asyncio.ensure_future(poll_stderr())
+ stdout_task: "asyncio.Task[None]" = asyncio.create_task(poll_stdout())
+ stderr_task: "asyncio.Task[None]" = asyncio.create_task(poll_stderr())
193
194
try:
195
# Wait real timeout here
0 commit comments