Skip to content

Commit 8af1e27

Browse files
committed
normalize code
1 parent 6ec53fc commit 8af1e27

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

dance/automl_config/step2_config.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import itertools
33

44
import wandb
5-
65
from dance import logger
76
from dance.automl_config.fun2code import fun2code_dict
87
from dance.transforms.misc import SetConfig
@@ -32,6 +31,14 @@
3231

3332

3433
def generate_combinations_with_required_elements(elements, required_elements=[]):
34+
"""
35+
Parameters
36+
----------
37+
elements
38+
Optional process in Step 2
39+
required_elements
40+
The required process in Step 2
41+
"""
3542
optional_elements = [x for x in elements if x not in required_elements]
3643

3744
# Sort optional elements in the same order as in the `elements` list

0 commit comments

Comments
 (0)