-
Notifications
You must be signed in to change notification settings - Fork 1
sd_utils.api.rate_limit
pencil-pusher edited this page Jul 15, 2021
·
1 revision
class RateLimit()
| can_make_request() -> bool
Returns true if the rate limit will not be exceeded by making another request
| make_request() -> None
increments the can make request counter
| request_wait_time() -> int
Returns the time in microseconds to wait before the next request