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 1e3d594 commit 9259b89Copy full SHA for 9259b89
ibm_watson/visual_recognition_v4.py
@@ -2693,7 +2693,7 @@ def _to_dict(self):
2693
"""Return a json dictionary representing this model."""
2694
_dict = {}
2695
if hasattr(self, 'data') and self.data is not None:
2696
- _dict['data'] = self.data._to_dict()
+ _dict['data'] = self.data
2697
if hasattr(self, 'filename') and self.filename is not None:
2698
_dict['filename'] = self.filename
2699
if hasattr(self, 'content_type') and self.content_type is not None:
0 commit comments