We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d25d690 commit 443d2deCopy full SHA for 443d2de
flask_oauthlib/contrib/cache.py
@@ -20,6 +20,7 @@ def __init__(self, app, config_prefix='OAUTHLIB', **kwargs):
20
raise RuntimeError(
21
'`%s` is not a valid cache type!' % cache_type
22
)
23
+ app.extensions[config_prefix.lower() + '_cache'] = self.cache
24
25
def __getattr__(self, key):
26
try:
0 commit comments