Skip to content

Commit 82cf222

Browse files
committed
address comments
1 parent 899c3f4 commit 82cf222

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/sagemaker/debugger/debugger.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ def sagemaker(
273273

274274
if actions is not None and not rule_configs.is_valid_action_object(actions):
275275
raise RuntimeError(
276-
"""`actions` must be of type `Action` or `ActionList`!
277-
"""
276+
"""`actions` must be of type `Action` or `ActionList`!"""
278277
)
279278

280279
if other_trials_s3_input_paths is not None:
@@ -365,8 +364,7 @@ def custom(
365364
"""
366365
if actions is not None and not rule_configs.is_valid_action_object(actions):
367366
raise RuntimeError(
368-
"""`actions` must be of type `Action` or `ActionList`!
369-
"""
367+
"""`actions` must be of type `Action` or `ActionList`!"""
370368
)
371369

372370
merged_rule_params = cls._set_rule_parameters(

0 commit comments

Comments
 (0)