zenodo_accessrequests/ext.py
def init_app(self, app):
        """Flask application initialization."""
        app.before_request(verify_token)
        self.init_config(app)
        state = _AppState(app=app)
        app.extensions['zenodo-accessrequests'] = state
def init_app(self, app):
        """Flask application initialization."""
        app.before_request(verify_token)
        self.init_config(app)
        state = _AppState(app=app)
        app.extensions['zenodo-accessrequests'] = state
def init_app ( self , app ) : app . before_request ( verify_token ) self . init_config ( app ) state = _AppState ( app = app ) app . extensions [ 'zenodo-accessrequests' ] = state
Flask application initialization.
Flask application initialization .