Skip to content

Commit c12c9aa

Browse files
authored
Merge pull request #250 from shuisman/master
generalize args for NLU
2 parents 62848a3 + 0f4840b commit c12c9aa

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

watson_developer_cloud/natural_language_understanding_v1.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ def __init__(self,
3131
url=default_url,
3232
username=None,
3333
password=None,
34-
use_vcap_services=True,
35-
x_watson_learning_opt_out=False):
34+
**kwargs):
3635
WatsonDeveloperCloudService.__init__(
3736
self, 'natural-language-understanding', url,
38-
username, password, use_vcap_services,
39-
x_watson_learning_opt_out=x_watson_learning_opt_out)
37+
username, password, **kwargs)
4038
self.version = version
4139

4240
def analyze(self, features, text=None, url=None, html=None,

0 commit comments

Comments
 (0)