We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2059c4b commit 7b99020Copy full SHA for 7b99020
src/sagemaker/jumpstart/payload_utils.py
@@ -37,12 +37,12 @@ class PayloadSerializer:
37
38
def __init__(
39
self,
40
- bucket: str = get_jumpstart_content_bucket(),
+ bucket: Optional[str] = None,
41
region: str = JUMPSTART_DEFAULT_REGION_NAME,
42
s3_client: Optional[boto3.client] = None,
43
) -> None:
44
"""Initializes PayloadSerializer object."""
45
- self.bucket = bucket
+ self.bucket = bucket or get_jumpstart_content_bucket()
46
self.region = region
47
self.s3_client = s3_client
48
0 commit comments