invenio_migrator/ext.py
def init_app(self, app):
        """Flask application initialization."""
        self.init_config(app.config)
        state = _InvenioMigratorState(app)
        app.extensions['invenio-migrator'] = state
        app.cli.add_command(dumps)
        return state
def init_app(self, app):
        """Flask application initialization."""
        self.init_config(app.config)
        state = _InvenioMigratorState(app)
        app.extensions['invenio-migrator'] = state
        app.cli.add_command(dumps)
        return state
def init_app ( self , app ) : self . init_config ( app . config ) state = _InvenioMigratorState ( app ) app . extensions [ 'invenio-migrator' ] = state app . cli . add_command ( dumps ) return state
Flask application initialization.
Flask application initialization .