Skip to content

Commit b2a6374

Browse files
committed
fix: incorrect words
1 parent ca20d87 commit b2a6374

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sagemaker/jumpstart/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def from_json(self, json_obj: Optional[Dict[str, Any]]) -> None:
361361
self.accept = accept
362362

363363
def to_json(self) -> Dict[str, Any]:
364-
"""Returns json representation of JumpStartDefaultPayloads object."""
364+
"""Returns json representation of JumpStartSerializablePayload object."""
365365
return deepcopy(self.raw_payload)
366366

367367

src/sagemaker/payloads.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def retrieve_samples(
7171
"""
7272
if not jumpstart_utils.is_jumpstart_model_input(model_id, model_version):
7373
raise ValueError(
74-
"Must specify JumpStart `model_id` and `model_version` when retrieving model URIs."
74+
"Must specify JumpStart `model_id` and `model_version` when retrieving payloads."
7575
)
7676

7777
unserialized_payload_dict: Optional[

0 commit comments

Comments
 (0)