buildingmotif.api.views.model#
Functions
Create model |
|
Get all models. |
|
|
Get Model by id. |
|
Get model graph by id. |
|
Get model graph by id. |
|
Update model graph. |
|
|
|
- get_model(models_id: int) Response [source]#
Get Model by id.
- Parameters:
models_id (int) – model id
- Returns:
requested model
- Return type:
flask.Response
- get_model_graph(models_id: int) Graph [source]#
Get model graph by id.
- Parameters:
models_id (int) – model id
- Returns:
requested model graph
- Return type:
rdflib.Graph
- get_target_nodes(models_id: int) Graph [source]#
Get model graph by id.
- Parameters:
models_id (int) – model id
- Returns:
requested model graph
- Return type:
rdflib.Graph