Skip to content

Commit fcc1ff0

Browse files
committed
Black reformatting
1 parent 79e0182 commit fcc1ff0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/sasctl/_services/model_management.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def create_performance_definition(
101101
table_prefix,
102102
project=None,
103103
models=None,
104-
library_name='Public',
104+
library_name="Public",
105105
name=None,
106106
description=None,
107107
monitor_champion=False,
@@ -180,7 +180,8 @@ def create_performance_definition(
180180
max_bins = 10 if max_bins is None else int(max_bins)
181181
if int(max_bins) < 2:
182182
raise ValueError(
183-
"Parameter 'max_bins' must be at least 2. Received a value of '%s'." % max_bins
183+
"Parameter 'max_bins' must be at least 2. Received a value of '%s'."
184+
% max_bins
184185
)
185186

186187
if not project and not models:
@@ -192,7 +193,11 @@ def create_performance_definition(
192193
# If no models were specified, search the supplied project for all models
193194
if not models:
194195
project = mr.get_project(project)
195-
models = mr.list_models(filter="eq(projectName, '{projectName}')".format(projectName=project.name))
196+
models = mr.list_models(
197+
filter="eq(projectName, '{projectName}')".format(
198+
projectName=project.name
199+
)
200+
)
196201

197202
# Separate single models from multiple models
198203
if not isinstance(models, list):

0 commit comments

Comments
 (0)