Skip to content

Commit 3cd5a2a

Browse files
samyarpotlapallismlindauer
authored andcommitted
filter changed
1 parent 2a58f5f commit 3cd5a2a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sasctl/_services/score_execution.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ def create_score_execution(
7373

7474
# Getting all score executions that are using the inputted score_definition_id
7575

76-
score_execution = cls.list_executions(
77-
filter=f"eq(scoreDefinitionId, '{score_definition_id}')"
76+
# score_execution = cls.list_executions(
77+
# filter=f"eq(scoreDefinitionId, '{score_definition_id}')"
78+
# )
79+
score_execution = cls.get("scoreExecution/executions",
80+
filter=f"filter=eq(scoreExecutionRequest.scoreDefinitionId,%{score_definition_id}%27)"
7881
)
7982
if not score_execution:
8083
raise HTTPError(f"Something went wrong in the LIST_EXECUTIONS statement.")

0 commit comments

Comments
 (0)