File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -272,9 +272,7 @@ def sagemaker(
272
272
)
273
273
274
274
if actions is not None and not rule_configs .is_valid_action_object (actions ):
275
- raise RuntimeError (
276
- """`actions` must be of type `Action` or `ActionList`!"""
277
- )
275
+ raise RuntimeError ("""`actions` must be of type `Action` or `ActionList`!""" )
278
276
279
277
if other_trials_s3_input_paths is not None :
280
278
for index , s3_input_path in enumerate (other_trials_s3_input_paths ):
@@ -363,9 +361,7 @@ def custom(
363
361
364
362
"""
365
363
if actions is not None and not rule_configs .is_valid_action_object (actions ):
366
- raise RuntimeError (
367
- """`actions` must be of type `Action` or `ActionList`!"""
368
- )
364
+ raise RuntimeError ("""`actions` must be of type `Action` or `ActionList`!""" )
369
365
370
366
merged_rule_params = cls ._set_rule_parameters (
371
367
source , rule_to_invoke , other_trials_s3_input_paths , rule_parameters
You can’t perform that action at this time.
0 commit comments