Skip to content

Commit 8d554fa

Browse files
committed
FrameworkProcessor: source_dir defaults to None
1 parent b8972cc commit 8d554fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/processing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ def _pre_init_normalization(
13581358
def run( # type: ignore[override]
13591359
self,
13601360
entry_point: str,
1361-
source_dir: Optional[str],
1361+
source_dir: Optional[str] = None,
13621362
dependencies: Optional[List[str]] = None,
13631363
git_config: Optional[Dict[str, str]] = None,
13641364
inputs: Optional[List[ProcessingInput]] = None,
@@ -1381,7 +1381,7 @@ def run( # type: ignore[override]
13811381
with any other training source code dependencies aside from the entry
13821382
point file (default: None). If ``source_dir`` is an S3 URI, it must
13831383
point to a tar.gz file. Structure within this directory are preserved
1384-
when training on Amazon SageMaker.
1384+
when training on Amazon SageMaker (default: None).
13851385
dependencies (list[str]): A list of paths to directories (absolute
13861386
or relative) with any additional libraries that will be exported
13871387
to the container (default: []). The library folders will be

0 commit comments

Comments
 (0)