Skip to content

Commit

Permalink
Chore: fix C0301 - Line too long
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User committed Jul 19, 2024
1 parent 3aef768 commit 643330b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sagemaker/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -8348,7 +8348,11 @@ def _logs_for_job( # noqa: C901 - suppress complexity warning for this method
"""
sagemaker_client = sagemaker_session.sagemaker_client
request_end_time = time.time() + timeout if timeout else None
description = _wait_until(lambda: sagemaker_client.describe_training_job(TrainingJobName=job_name))
description = _wait_until(
lambda: sagemaker_client.describe_training_job(
TrainingJobName=job_name
)
)
print(secondary_training_status_message(description, None), end="")

instance_count, stream_names, positions, client, log_group, dot, color_wrap = _logs_init(
Expand Down

0 comments on commit 643330b

Please sign in to comment.