Skip to content

Commit c9add06

Browse files
author
Malav Shastri
committed
address comments
1 parent f52351b commit c9add06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/jumpstart/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ def from_json(self, json_obj: Dict[str, Any]) -> None:
12781278
json_obj (Dict[str, Any]): Dictionary representation of spec.
12791279
"""
12801280
if self._is_hub_content:
1281-
json_obj = walk_and_apply_json(json_obj, camel_to_snake, ["metrics"])
1281+
json_obj = walk_and_apply_json(json_obj, camel_to_snake)
12821282
self.model_id: str = json_obj.get("model_id")
12831283
self.url: str = json_obj.get("url")
12841284
self.version: str = json_obj.get("version")

0 commit comments

Comments
 (0)