def init_app(self, app, sqla, namespace='api', route_prefix='/api'):
        self.app = app
        self.sqla = sqla

        self._setup_adapter(namespace, route_prefix)
Initialize the adapter if it hasn't already been initialized.
dataset/ETHPy150Open ColtonProvias/sqlalchemy-jsonapi/sqlalchemy_jsonapi/flaskext.py/FlaskJSONAPI.init_app