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 b27bb41 commit bb6fbffCopy full SHA for bb6fbff
src/sasctl/_services/score_definitions.py
@@ -91,18 +91,10 @@ def create_score_definition(
91
model = cls._model_repository.get_model(model)
92
if not model:
93
raise HTTPError(
94
- {
95
- f"This model may not exist in a project or the model may not exist at all."
96
- }
+ "This model may not exist in a project or the model may not exist at all."
97
)
98
model_id = model["id"]
99
100
- if not model:
101
- raise HTTPError(
102
103
104
105
- )
106
model_project_id = model.get("projectId")
107
model_project_version_id = model.get("projectVersionId")
108
model_name = model.get("name")
0 commit comments