Skip to content

Commit

Permalink
[FIX] Added missing abstractmethod decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia committed Oct 28, 2023
1 parent d87b72e commit 1960cbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/easynetwork/lowlevel/api_async/backend/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,18 +168,21 @@ class ICondition(ILock, Protocol):
"""

@abstractmethod
def notify(self, n: int = ..., /) -> None:
"""
Wake one or more tasks that are blocked in :meth:`wait`.
"""
...

@abstractmethod
def notify_all(self) -> None:
"""
Wake all tasks that are blocked in :meth:`wait`.
"""
...

@abstractmethod
async def wait(self) -> Any:
"""
Wait until notified.
Expand Down

0 comments on commit 1960cbc

Please sign in to comment.