Skip to content

Commit

Permalink
fix async.wait coroutine arg
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Aug 16, 2024
1 parent 32b559f commit 3f426a5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ async def _async_aws_cli_command(
)

assert proc.stdout # nosec
await asyncio.wait([_read_stream(proc.stdout, [*aws_cli_s3_log_parsers])])
await asyncio.wait(
[asyncio.create_task(_read_stream(proc.stdout, [*aws_cli_s3_log_parsers]))]
)

_stdout, _stderr = await proc.communicate()

Expand Down

0 comments on commit 3f426a5

Please sign in to comment.