Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ba7b9af

Browse files
author
Joseph Zhang
committedOct 13, 2023
Merge branch 'master' into serverless-integ-test-fix
2 parents 2f9dd4b + cdf0e68 commit ba7b9af

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎src/sagemaker/config/config_schema.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
LOCAL_CODE = "local_code"
107107
SERVING_PORT = "serving_port"
108108
CONTAINER_CONFIG = "container_config"
109+
CONTAINER_ROOT = "container_root"
109110
REGION_NAME = "region_name"
110111

111112

@@ -1090,6 +1091,9 @@ def _simple_path(*args: str):
10901091
SERVING_PORT: {
10911092
TYPE: "integer",
10921093
},
1094+
CONTAINER_ROOT: {
1095+
TYPE: "string",
1096+
},
10931097
CONTAINER_CONFIG: {
10941098
TYPE: OBJECT,
10951099
},

‎src/sagemaker/jumpstart/payload_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class PayloadSerializer:
3737

3838
def __init__(
3939
self,
40-
bucket: str = get_jumpstart_content_bucket(),
40+
bucket: Optional[str] = None,
4141
region: str = JUMPSTART_DEFAULT_REGION_NAME,
4242
s3_client: Optional[boto3.client] = None,
4343
) -> None:
4444
"""Initializes PayloadSerializer object."""
45-
self.bucket = bucket
45+
self.bucket = bucket or get_jumpstart_content_bucket()
4646
self.region = region
4747
self.s3_client = s3_client
4848

0 commit comments

Comments
 (0)
Please sign in to comment.