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