Skip to content

Commit 91cb900

Browse files
committed
fix: typing
1 parent 441343d commit 91cb900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/jumpstart/payload_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from __future__ import absolute_import
1515
import base64
1616
import json
17-
from typing import Any, Dict, Optional, Union
17+
from typing import Any, Dict, List, Optional, Union
1818
import re
1919
import boto3
2020

@@ -37,7 +37,7 @@
3737

3838
def _extract_field_from_json(
3939
json_input: dict,
40-
keys: list[str],
40+
keys: List[str],
4141
) -> Any:
4242
"""Given a dictionary, returns value at specified keys.
4343

0 commit comments

Comments
 (0)