File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 106
106
LOCAL_CODE = "local_code"
107
107
SERVING_PORT = "serving_port"
108
108
CONTAINER_CONFIG = "container_config"
109
+ CONTAINER_ROOT = "container_root"
109
110
REGION_NAME = "region_name"
110
111
111
112
@@ -1090,6 +1091,9 @@ def _simple_path(*args: str):
1090
1091
SERVING_PORT : {
1091
1092
TYPE : "integer" ,
1092
1093
},
1094
+ CONTAINER_ROOT : {
1095
+ TYPE : "string" ,
1096
+ },
1093
1097
CONTAINER_CONFIG : {
1094
1098
TYPE : OBJECT ,
1095
1099
},
Original file line number Diff line number Diff line change @@ -37,12 +37,12 @@ class PayloadSerializer:
37
37
38
38
def __init__ (
39
39
self ,
40
- bucket : str = get_jumpstart_content_bucket () ,
40
+ bucket : Optional [ str ] = None ,
41
41
region : str = JUMPSTART_DEFAULT_REGION_NAME ,
42
42
s3_client : Optional [boto3 .client ] = None ,
43
43
) -> None :
44
44
"""Initializes PayloadSerializer object."""
45
- self .bucket = bucket
45
+ self .bucket = bucket or get_jumpstart_content_bucket ()
46
46
self .region = region
47
47
self .s3_client = s3_client
48
48
You can’t perform that action at this time.
0 commit comments