Skip to content

Commit

Permalink
Exposed limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Geniola committed Nov 3, 2020
1 parent 8714631 commit 21846cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meross_iot/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@ def __init__(self,
requests_per_second_limit,
requests_per_second_limit)

@property
def limiter(self) -> RateLimitChecker:
return self._limiter

def register_push_notification_handler_coroutine(self, coro: Callable[
[GenericPushNotification, List[BaseDevice]], Awaitable]) -> None:
"""
Expand Down

0 comments on commit 21846cf

Please sign in to comment.