buildingmotif.api.app#
Functions
|
Creates a Flask API. |
- create_app(DB_URI, shacl_engine: Optional[str] = 'pyshacl')[source]#
Creates a Flask API.
- Parameters:
db_uri (str) – database URI
shacl_engine (str, optional) – the name of the engine to use for validation: “pyshacl” or “topquadrant”. Using topquadrant requires Java to be installed on this machine, and the “topquadrant” feature on BuildingMOTIF, defaults to “pyshacl”
- Returns:
flask app
- Return type:
Flask.app