stravalib.util.limiter.XRateLimitRule#
- class stravalib.util.limiter.XRateLimitRule(limits, force_limits=False)[source]#
- __init__(limits, force_limits=False)[source]#
- Parameters:
limits – THe limits structure.
force_limits – If False (default), this rule will set/update its limits based on what the Strava API
tells it. If True, the provided limits will be enforced, i.e. ignoring the limits given by the API.
Methods
__init__(limits[, force_limits])- param limits:
THe limits structure.
Attributes
limit_timeout