Skip to content

Commit

Permalink
fix(FileWithMetadata): Hand edit for FileWithMetadata _to_dict()
Browse files Browse the repository at this point in the history
  • Loading branch information
ehdsouza committed Oct 4, 2019
1 parent 8b6a6ff commit 2d6f6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibm_watson/visual_recognition_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -2457,7 +2457,7 @@ def _to_dict(self):
"""Return a json dictionary representing this model."""
_dict = {}
if hasattr(self, 'data') and self.data is not None:
_dict['data'] = self.data._to_dict()
_dict['data'] = self.data.__str__()
if hasattr(self, 'filename') and self.filename is not None:
_dict['filename'] = self.filename
if hasattr(self, 'content_type') and self.content_type is not None:
Expand Down

0 comments on commit 2d6f6d0

Please sign in to comment.