Skip to content

Commit 12937f3

Browse files
committed
fix typo
1 parent 9e70fa3 commit 12937f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sagemaker/modules/local_core/local_container.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class _LocalContainer(BaseModel):
108108
container_entrypoint: Optional[List[str]]
109109
container_arguments: Optional[List[str]]
110110

111-
_temperary_folders: List[str] = []
111+
_temporary_folders: List[str] = []
112112

113113
def model_post_init(self, __context: Any):
114114
"""Post init method to perform custom validation and set default values."""
@@ -212,7 +212,7 @@ def train(
212212
shutil.rmtree(os.path.join(self.container_root, "shared"))
213213
for host in self.hosts:
214214
shutil.rmtree(os.path.join(self.container_root, host))
215-
for folder in self._temperary_folders:
215+
for folder in self._temporary_folders:
216216
shutil.rmtree(os.path.join(self.container_root, folder))
217217
return artifacts
218218

@@ -553,7 +553,7 @@ def _get_data_source_local_path(self, data_source: DataSource):
553553
uri = data_source.s3_data_source.s3_uri
554554
parsed_uri = urlparse(uri)
555555
local_dir = TemporaryDirectory(prefix=os.path.join(self.container_root + "/")).name
556-
self._temperary_folders.append(local_dir)
556+
self._temporary_folders.append(local_dir)
557557
download_folder(parsed_uri.netloc, parsed_uri.path, local_dir, self.sagemaker_session)
558558
return local_dir
559559
else:

0 commit comments

Comments
 (0)