From da3418f6ed1600f302f75a44aee115951a436d6e Mon Sep 17 00:00:00 2001 From: Gabe Fierro Date: Mon, 2 Dec 2024 12:23:51 -0700 Subject: [PATCH] allow missing imports for validation --- buildingmotif/api/views/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildingmotif/api/views/model.py b/buildingmotif/api/views/model.py index 41fc930dd..6131ed6d3 100644 --- a/buildingmotif/api/views/model.py +++ b/buildingmotif/api/views/model.py @@ -198,7 +198,7 @@ def validate_model(models_id: int) -> flask.Response: # if shape_collections is empty, model.validate will default # to the model's manifest - vaildation_context = model.validate(shape_collections) + vaildation_context = model.validate(shape_collections, error_on_missing_imports=False) return { "message": vaildation_context.report_string,