Skip to content

Commit 2508683

Browse files
committed
fix: pylint complaint
1 parent bc917e8 commit 2508683

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/sagemaker/estimator.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,15 +1766,15 @@ def model_data(self):
17661766
"CompressionType": "None",
17671767
}
17681768
}
1769-
else:
1770-
logger.warning(
1771-
"No finished training job found associated with this estimator. Please make sure "
1772-
"this estimator is only used for building workflow config"
1773-
)
1774-
model_uri = os.path.join(
1775-
self.output_path, self._current_job_name, "output", "model.tar.gz"
1776-
)
1777-
return model_uri
1769+
1770+
logger.warning(
1771+
"No finished training job found associated with this estimator. Please make sure "
1772+
"this estimator is only used for building workflow config"
1773+
)
1774+
model_uri = os.path.join(
1775+
self.output_path, self._current_job_name, "output", "model.tar.gz"
1776+
)
1777+
return model_uri
17781778

17791779
@abstractmethod
17801780
def create_model(self, **kwargs):

0 commit comments

Comments
 (0)