1 from typing import Any, Optional
\r
10 def __init__(self, capacity, window: int = ..., initial_sleep: Optional[Any] = ...) -> None: ...
\r
11 def add_record(self, record): ...
\r
12 def throttle(self): ...
\r
14 class NoThrottle(ThrottleBase):
\r
15 def __init__(self) -> None: ...
\r
16 def add_record(self, record): ...
\r
18 class Throttle(ThrottleBase):
\r
19 def throttle(self): ...
\r