We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b6a6ff commit 2d6f6d0Copy full SHA for 2d6f6d0
ibm_watson/visual_recognition_v4.py
@@ -2457,7 +2457,7 @@ def _to_dict(self):
2457
"""Return a json dictionary representing this model."""
2458
_dict = {}
2459
if hasattr(self, 'data') and self.data is not None:
2460
- _dict['data'] = self.data._to_dict()
+ _dict['data'] = self.data.__str__()
2461
if hasattr(self, 'filename') and self.filename is not None:
2462
_dict['filename'] = self.filename
2463
if hasattr(self, 'content_type') and self.content_type is not None:
0 commit comments