Skip to content

Commit 1a92a22

Browse files
committed
Black reformatting
1 parent 5de5692 commit 1a92a22

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
@@ -104,7 +104,7 @@ def create_performance_definition(
104104
table_prefix,
105105
project=None,
106106
models=None,
107-
library_name='Public',
107+
library_name="Public",
108108
name=None,
109109
description=None,
110110
monitor_champion=False,
@@ -183,7 +183,8 @@ def create_performance_definition(
183183
max_bins = 10 if max_bins is None else int(max_bins)
184184
if int(max_bins) < 2:
185185
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
187188
)
188189

189190
if not project and not models:
@@ -195,7 +196,11 @@ def create_performance_definition(
195196
# If no models were specified, search the supplied project for all models
196197
if not models:
197198
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+
)
199204

200205
# Separate single models from multiple models
201206
if not isinstance(models, list):

0 commit comments

Comments
 (0)