Skip to content

Commit 643330b

Browse files
author
EC2 Default User
committed
Chore: fix C0301 - Line too long
1 parent 3aef768 commit 643330b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sagemaker/session.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8348,7 +8348,11 @@ def _logs_for_job( # noqa: C901 - suppress complexity warning for this method
83488348
"""
83498349
sagemaker_client = sagemaker_session.sagemaker_client
83508350
request_end_time = time.time() + timeout if timeout else None
8351-
description = _wait_until(lambda: sagemaker_client.describe_training_job(TrainingJobName=job_name))
8351+
description = _wait_until(
8352+
lambda: sagemaker_client.describe_training_job(
8353+
TrainingJobName=job_name
8354+
)
8355+
)
83528356
print(secondary_training_status_message(description, None), end="")
83538357

83548358
instance_count, stream_names, positions, client, log_group, dot, color_wrap = _logs_init(

0 commit comments

Comments
 (0)