Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
shizacat committed Dec 5, 2022
1 parent 3af7062 commit 4914ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aio_pika/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async def __aexit__(

await asyncio.ensure_future(self.close())

def __len__(self):
def __len__(self) -> int:
return len(self.__item_set)


Expand Down

0 comments on commit 4914ee9

Please sign in to comment.