Skip to content

Commit b409c62

Browse files
committed
last update
1 parent 3e1ab00 commit b409c62

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
@@ -1538,7 +1538,7 @@ def from_json(self, json_obj: Dict[str, Any]) -> None:
15381538

15391539
# Handle custom fields
15401540
for custom_field, field in self.CUSTOM_FIELD_MAP.items():
1541-
if field in json_obj:
1541+
if custom_field in json_obj:
15421542
setattr(self, field, json_obj.get(custom_field))
15431543

15441544

0 commit comments

Comments
 (0)