Skip to content

Commit 9366c78

Browse files
committed
fix: update_model_card input types
1 parent 2478a09 commit 9366c78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2428,7 +2428,7 @@ def add_inference_specification(
24282428

24292429
sagemaker_session.sagemaker_client.update_model_package(**model_package_update_args)
24302430

2431-
def update_model_card(self, model_card: ModelCard | ModelPackageModelCard):
2431+
def update_model_card(self, model_card: Union[ModelCard | ModelPackageModelCard]):
24322432
"""Updates Created model card content which created with model package
24332433
24342434
Args:

0 commit comments

Comments
 (0)