danielfm / pybreaker

Python implementation of the Circuit Breaker pattern.
BSD 3-Clause "New" or "Revised" License
508 stars 74 forks source link

Remove redundant `redis` import check #66

Closed Kludex closed 2 years ago

Kludex commented 2 years ago

This PR just removes the redundancy on the redis import. Above the removed try..except we can see the following:

https://github.com/danielfm/pybreaker/blob/2f6c730d21c2334c33c85ef7927d261ff81d3a20/src/pybreaker.py#L477-L478

danielfm commented 2 years ago

Thanks!