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 Oct 21, 2024
1 parent f9a1d2d commit 6d5b9a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ packages = find:
install_requires =
aiohttp>=1.0.0
attrs>=20.1
python_requires = >=3.8
python_requires = >=3.9
include_package_data = True

[options.packages.find]
Expand Down

0 comments on commit 6d5b9a4

Please sign in to comment.