Skip to content

Commit

Permalink
allow missing imports for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro committed Dec 2, 2024
1 parent a39dd28 commit da3418f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildingmotif/api/views/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit da3418f

Please sign in to comment.