Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Oct 24, 2024
1 parent 96e0de2 commit a6cdd2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 296 deletions.
3 changes: 2 additions & 1 deletion examples/firehose/stop_client_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ async def _stop_after_n_sec() -> None:
await client.stop()

# save ref to task to eliminate problems with GC
_ = asyncio.create_task(_stop_after_n_sec())
_stop_after_n_sec_task = asyncio.create_task(_stop_after_n_sec())

await client.start(on_message_handler)
await _stop_after_n_sec_task

print(f'Successfully stopped after {_STOP_AFTER_SECONDS} seconds!')

Expand Down
295 changes: 0 additions & 295 deletions test.py

This file was deleted.

0 comments on commit a6cdd2e

Please sign in to comment.