GitHub

API reference for Rate.

Open once at least minimum_calls of the last size recorded calls are in and at least threshold of them failed.

Attributes

AttributeTypeDescription
thresholdfloat
minimum_callsint
sizeint

Functions

__init__

__init__(threshold, minimum_calls, size) -> None
ParameterTypeDescription
thresholdfloat
minimum_callsint
sizeint