Skip to content

Commit 2d6f6d0

Browse files
committed
fix(FileWithMetadata): Hand edit for FileWithMetadata _to_dict()
1 parent 8b6a6ff commit 2d6f6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibm_watson/visual_recognition_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ def _to_dict(self):
24572457
"""Return a json dictionary representing this model."""
24582458
_dict = {}
24592459
if hasattr(self, 'data') and self.data is not None:
2460-
_dict['data'] = self.data._to_dict()
2460+
_dict['data'] = self.data.__str__()
24612461
if hasattr(self, 'filename') and self.filename is not None:
24622462
_dict['filename'] = self.filename
24632463
if hasattr(self, 'content_type') and self.content_type is not None:

0 commit comments

Comments
 (0)