Skip to content

Commit b754bf9

Browse files
Update src/sagemaker/apiutils/_base_types.py
Co-authored-by: Eric Johnson <[email protected]>
1 parent 4619671 commit b754bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/apiutils/_base_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def from_boto(cls, boto_dict, **kwargs):
4949
boto_dict (dict): A dictionary of a boto response.
5050
**kwargs: Arbitrary keyword arguments
5151
"""
52-
if not boto_dict:
52+
if boto_dict is None:
5353
return None
5454

5555
boto_dict = {k: v for k, v in boto_dict.items() if k not in cls._boto_ignore()}

0 commit comments

Comments
 (0)