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 58179aa commit b60b930Copy full SHA for b60b930
src/sasctl/_services/model_management.py
@@ -195,7 +195,9 @@ def create_performance_definition(
195
# If no models were specified, search the supplied project for all models
196
if not models:
197
project = mr.get_project(project)
198
- models = mr.list_models(parentId=project.id)
+ models = mr.list_models(filter="eq(projectName, '{projectName}')".format(projectName=project.name))
199
+
200
+ # Separate single models from multiple models
201
if not isinstance(models, list):
202
models = [models]
203
for i, model in enumerate(models):
0 commit comments