massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / pynamodb / throttle.pyi
1 from typing import Any, Optional\r
2 \r
3 log: Any\r
4 \r
5 class ThrottleBase:\r
6     capacity: Any\r
7     window: Any\r
8     records: Any\r
9     sleep_interval: Any\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
13 \r
14 class NoThrottle(ThrottleBase):\r
15     def __init__(self) -> None: ...\r
16     def add_record(self, record): ...\r
17 \r
18 class Throttle(ThrottleBase):\r
19     def throttle(self): ...\r