Skip to content

CircuitBreakerConfiguration

Structure Class

CircuitBreakerConfiguration dataclass

Bases: _SerdeShape

Specifies whether the circuit breaker monitors failures for the targets in a fallback chain.

Attributes

mode class-attribute instance-attribute
mode: str = ...

Specifies whether you want the circuit breaker turned on. To turn it off, set this value to DISABLED. The default is ENABLED.