Skip to content

Commit 1dd1df4

Browse files
committed
chore: update docstrings
1 parent c4f7ffc commit 1dd1df4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/sagemaker/jumpstart/estimator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,10 @@ def attach(
712712
Returns:
713713
Instance of the calling ``JumpStartEstimator`` Class with the attached
714714
training job.
715+
716+
Raises:
717+
ValueError: if the model ID or version cannot be inferred from the training job.
718+
715719
"""
716720

717721
if model_id is None:

src/sagemaker/predictor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ def retrieve_default(
6767
Predictor: The default predictor to use for the model.
6868
6969
Raises:
70-
ValueError: If the combination of arguments specified is not supported.
70+
ValueError: If the combination of arguments specified is not supported, or if a model ID or
71+
version cannot be inferred from the endpoint.
7172
"""
7273

7374
if model_id is None:

0 commit comments

Comments
 (0)