Skip to content

Commit c05c7fb

Browse files
committed
Updated ModelCard content type
1 parent 59bbd4e commit c05c7fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/model_card/model_card.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import json
1717
import logging
1818
from datetime import datetime
19-
from typing import Optional, Union, List, Any
19+
from typing import Optional, Union, List, Any, Dict
2020
from botocore.exceptions import ClientError
2121
from boto3.session import Session as boto3_Session
2222
from six.moves.urllib.parse import urlparse
@@ -1890,7 +1890,7 @@ class ModelPackageModelCard(object):
18901890

18911891
def __init__(
18921892
self,
1893-
model_card_content: dict[str],
1893+
model_card_content: Dict[str, Any],
18941894
model_card_status: str,
18951895
):
18961896

0 commit comments

Comments
 (0)