

def init_app(self, app, sqla, namespace='api', route_prefix='/api'):
    "\n        Initialize the adapter if it hasn't already been initialized.\n\n        :param app: Flask application\n        :param sqla: Flask-SQLAlchemy instance\n        :param namespace: Prefixes all generated routes\n        :param route_prefix: The base path for the generated routes\n        "
    self.app = app
    self.sqla = sqla
    self._setup_adapter(namespace, route_prefix)

dataset/ETHPy150Open ColtonProvias/sqlalchemy-jsonapi/sqlalchemy_jsonapi/flaskext.py FlaskJSONAPI.init_app/original