Skip to content

Commit e9edcd0

Browse files
committed
fix: __aenter__ abstractmethod signature
1 parent 7e468aa commit e9edcd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aio_pika/abc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def __aiter__(self) -> "AbstractQueueIterator":
387387
raise NotImplementedError
388388

389389
@abstractmethod
390-
def __aenter__(self) -> Awaitable["AbstractQueueIterator"]:
390+
async def __aenter__(self) -> Awaitable["AbstractQueueIterator"]:
391391
raise NotImplementedError
392392

393393
@abstractmethod

0 commit comments

Comments
 (0)