Skip to content

Commit 77b37f5

Browse files
author
Balaji Veeramani
committed
Fix bug
1 parent de361e0 commit 77b37f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def is_sequence_like(obj):
6767
return hasattr(obj, "__iter__") and hasattr(obj, "__getitem__")
6868

6969
def is_mutable_sequence_like(obj):
70-
return is_sequence_like and hasattr(obj, "__setitem__")
70+
return is_sequence_like(obj) and hasattr(obj, "__setitem__")
7171

7272
if is_mutable_sequence_like(data) and len(data) > 0 and is_sequence_like(data[0]):
7373
return "\n".join([self._serialize_row(row) for row in data])

0 commit comments

Comments
 (0)