Skip to content

Commit 9f25147

Browse files
committed
fixing pylint issues
1 parent 6a81c41 commit 9f25147

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

watson_developer_cloud/natural_language_understanding_v1.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from watson_developer_cloud.watson_developer_cloud_service import \
1616
WatsonDeveloperCloudService
17-
import json
1817

1918

2019
class NaturalLanguageUnderstandingV1(WatsonDeveloperCloudService):
@@ -55,15 +54,16 @@ def analyze(self, features, text=None, url=None, html=None,
5554
:param language: what language to use
5655
:return: dict of analyzed text
5756
"""
58-
body = {'clean': clean,
59-
'fallback_to_raw': fallback_to_raw,
60-
'return_analyzed_text': return_analyzed_text,
61-
'xpath': xpath,
62-
'language': language,
63-
'text': text,
64-
'url': url,
65-
'html': html
66-
}
57+
body = {
58+
'clean': clean,
59+
'fallback_to_raw': fallback_to_raw,
60+
'return_analyzed_text': return_analyzed_text,
61+
'xpath': xpath,
62+
'language': language,
63+
'text': text,
64+
'url': url,
65+
'html': html
66+
}
6767

6868
feature_dict = {}
6969
for feature in features:

0 commit comments

Comments
 (0)