Open
Description
@NikitaKozlovtcev What do you think, will it be useful to have an opportunity using circuit breaker as a decorator?
From https://github.com/fabfuel/circuitbreaker:
from circuitbreaker import circuit
@circuit(failure_threshold=10, expected_exception=ConnectionError)
def external_call():
...