Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 5, 2024
1 parent 19d49cd commit 52b8366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansq/tcp/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ async def subscribe(

await self.rdy(messages_count)

async def messages(self) -> AsyncGenerator[NSQMessage, None]:
async def messages(self) -> AsyncGenerator[NSQMessage]:
"""Generator, yields messages"""
assert self.is_subscribed, "You should subscribe to the topic first"

Expand Down

0 comments on commit 52b8366

Please sign in to comment.