Skip to content

Commit b101789

Browse files
committed
chore(FileWithMetadata): Hand edit _from_dict()
1 parent aedd181 commit b101789

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
@@ -2442,7 +2442,7 @@ def _from_dict(cls, _dict):
24422442
'Unrecognized keys detected in dictionary for class FileWithMetadata: '
24432443
+ ', '.join(bad_keys))
24442444
if 'data' in _dict:
2445-
args['data'] = file._from_dict(_dict.get('data'))
2445+
args['data'] = _dict.get('data')
24462446
else:
24472447
raise ValueError(
24482448
'Required property \'data\' not present in FileWithMetadata JSON'

0 commit comments

Comments
 (0)