Comments (10)
Good catch.
AFAIK this behavior is not intentional, seems more like a bug to me.
from pybreaker.
Just pushed a new version, that hopefully fixes this issue, can you take some time to test it?
from pybreaker.
Sure, all my tests pass at the moment but it's still fairly early in my development process.
from pybreaker.
Actually, it looks like Redis is now a dependency, it wasn't before. If that was intentional, that's fine. Otherwise, my tests are now broken.
from pybreaker.
Redis is an optional dependency, in case you enable the Redis backing. You should be able to use it without it though.
from pybreaker.
I get ImportError: CircuitRedisStorage can only be used if the required dependencies exist
as soon as I import pybreaker, using Python 3.6.
from pybreaker.
This is a bug; redis should not be required to use pybreaker.
I'll see what I can do. /cc @phillbaker
from pybreaker.
Ouch. Sorry about that. I'll take a look tonight.
from pybreaker.
@sj175 can you please try 0.3.3 to see if the last PR fixes the issue? Feel free to reopen this in case it didn't.
from pybreaker.
That's fixed. Brilliant, thank you!
from pybreaker.
Related Issues (20)
- proposal: adding a name property to CircuitBreaker HOT 1
- Chaining exception into the CircuitBreakerError HOT 2
- New release HOT 1
- Is the lock effective even across multiple server processes?
- Allow installing CircuitBreakerStorageBasedTestCase as a pip extra
- Exceptions in generators have wrong location
- Old versions of Python
- Python 3 support HOT 5
- Performance issues for multithreading
- Monitoring two or more funcions HOT 1
- CircuitBreakerError hiding a real ConnectTimeout HOT 3
- Maintainership HOT 1
- TTL on Redis HOT 1
- pybreaker should provide getter for the time remaining till the circuit changes state from open to half-open
- README sentence left hanging HOT 2
- Missing py.typed Marker HOT 3
- Contextmanager / `with` API? HOT 2
- define two CircuitBreaker problem HOT 1
- (🐞) incorrect typing for exclude argument HOT 7
- Async support and fallback function support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybreaker.