We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1f873 commit e8129e2Copy full SHA for e8129e2
src/sasctl/_services/score_definitions.py
@@ -83,9 +83,7 @@ def create_score_definition(
83
else:
84
object_descriptor_type = "sas.models.model.ds2"
85
86
- if cls._model_repository.is_uuid(model):
87
- model_id = model
88
- elif isinstance(model, dict) and "id" in model:
+ if isinstance(model, dict) and "id" in model:
89
model_id = model["id"]
90
91
model = cls._model_repository.get_model(model)
0 commit comments