Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec36fd commit cd67ffeCopy full SHA for cd67ffe
flask_redis.py
@@ -20,7 +20,7 @@ def __init__(self, app=None, strict=False, config_prefix='REDIS'):
20
21
@classmethod
22
def from_custom_provider(cls, provider, app=None, **kwargs):
23
- assert provider is not None
+ assert provider is not None, 'your custom provider cannot be None, come on'
24
25
# We never pass the app parameter here, so we can call init_app
26
# ourselves later, after the provider class has been set
0 commit comments