Method
__init__
(self, app=None, cache=None, fetch_token=None, update_token=None)
Source from the content-addressed store, hash-verified
| 14 | framework_integration_cls = FlaskIntegration |
| 15 | |
| 16 | def __init__(self, app=None, cache=None, fetch_token=None, update_token=None): |
| 17 | super().__init__( |
| 18 | cache=cache, fetch_token=fetch_token, update_token=update_token |
| 19 | ) |
| 20 | self.app = app |
| 21 | if app: |
| 22 | self.init_app(app) |
| 23 | |
| 24 | def init_app(self, app, cache=None, fetch_token=None, update_token=None): |
| 25 | """Initialize lazy for Flask app. This is usually used for Flask application |
Callers
nothing calls this directly
Tested by
no test coverage detected