Skip to content

Commit dfd56aa

Browse files
committed
User parentheses over backslash for line continuation
1 parent b38b38f commit dfd56aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dataikuapi/dss/ml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ def _get_custom_algorithm_names(self):
340340
:returns: the list of custom models names
341341
:rtype: list of string
342342
"""
343-
return [algo["name"] for algo in self.mltask_settings["modeling"]["custom_mllib"]]\
344-
+ [algo["name"] for algo in self.mltask_settings["modeling"]["custom_python"]]
343+
return ([algo["name"] for algo in self.mltask_settings["modeling"]["custom_mllib"]]
344+
+ [algo["name"] for algo in self.mltask_settings["modeling"]["custom_python"]])
345345

346346
def get_enabled_algorithm_names(self):
347347
"""

0 commit comments

Comments
 (0)