File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def create_performance_definition(
104
104
table_prefix ,
105
105
project = None ,
106
106
models = None ,
107
- library_name = ' Public' ,
107
+ library_name = " Public" ,
108
108
name = None ,
109
109
description = None ,
110
110
monitor_champion = False ,
@@ -183,7 +183,8 @@ def create_performance_definition(
183
183
max_bins = 10 if max_bins is None else int (max_bins )
184
184
if int (max_bins ) < 2 :
185
185
raise ValueError (
186
- "Parameter 'max_bins' must be at least 2. Received a value of '%s'." % max_bins
186
+ "Parameter 'max_bins' must be at least 2. Received a value of '%s'."
187
+ % max_bins
187
188
)
188
189
189
190
if not project and not models :
@@ -195,7 +196,11 @@ def create_performance_definition(
195
196
# If no models were specified, search the supplied project for all models
196
197
if not models :
197
198
project = mr .get_project (project )
198
- models = mr .list_models (filter = "eq(projectName, '{projectName}')" .format (projectName = project .name ))
199
+ models = mr .list_models (
200
+ filter = "eq(projectName, '{projectName}')" .format (
201
+ projectName = project .name
202
+ )
203
+ )
199
204
200
205
# Separate single models from multiple models
201
206
if not isinstance (models , list ):
You can’t perform that action at this time.
0 commit comments