Skip to content

Commit 9326821

Browse files
committed
Fixing indentation bug in source code
1 parent 41f71d6 commit 9326821

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

sagemaker-train/src/sagemaker/train/model_trainer.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -744,18 +744,18 @@ def train(
744744
self.sagemaker_session._intercept_create_request(training_request, None, "train")
745745
return
746746

747-
training_job = TrainingJob.create(
748-
session=self.sagemaker_session.boto_session,
749-
**training_request
750-
)
751-
self._latest_training_job = training_job
752-
753-
if wait:
754-
training_job.wait(logs=logs)
755-
if logs and not wait:
756-
logger.warning(
757-
"Not displaing the training container logs as 'wait' is set to False."
747+
training_job = TrainingJob.create(
748+
session=self.sagemaker_session.boto_session,
749+
**training_request
758750
)
751+
self._latest_training_job = training_job
752+
753+
if wait:
754+
training_job.wait(logs=logs)
755+
if logs and not wait:
756+
logger.warning(
757+
"Not displaing the training container logs as 'wait' is set to False."
758+
)
759759

760760
else:
761761
local_container = _LocalContainer(

0 commit comments

Comments
 (0)