Skip to content

Commit 49fdedc

Browse files
author
Cloud User
committed
fix update_model_performance to check for project id vs modelids, if champion checked no model id is added
1 parent 79544ef commit 49fdedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def update_model_performance(data, model, label, refresh=True):
519519
# As of Viya 3.4, no way to search by model or project
520520
perf_def = None
521521
for p in mm.list_performance_definitions():
522-
if model_obj.id in p.modelIds:
522+
if project.id in p.projectId:
523523
perf_def = p
524524
break
525525

0 commit comments

Comments
 (0)