GitHub

ClassifyContext

API reference for ClassifyContext.

What classify learns beside the exit: probe is True for the half-open probe, so an outcome ignored while closed (a rate-limited response, say) can count as a failure that reopens the circuit.

Attributes

AttributeTypeDescription
probebool

Functions

__init__

__init__(probe) -> None
ParameterTypeDescription
probebool