Skip to content

Commit 5e25765

Browse files
committed
chore(nlc): regenerate natural language classifier
1 parent 8b4ed8c commit 5e25765

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ibm_watson/natural_language_classifier_v1.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22

3-
# (C) Copyright IBM Corp. 2019, 2020.
3+
# (C) Copyright IBM Corp. 2020.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -26,8 +26,9 @@
2626
from datetime import datetime
2727
from enum import Enum
2828
from ibm_cloud_sdk_core import BaseService
29+
from ibm_cloud_sdk_core import DetailedResponse
2930
from ibm_cloud_sdk_core import datetime_to_string, string_to_datetime
30-
from ibm_cloud_sdk_core import get_authenticator_from_environment
31+
from ibm_cloud_sdk_core.get_authenticator import get_authenticator_from_environment
3132
from typing import BinaryIO
3233
from typing import Dict
3334
from typing import List
@@ -174,7 +175,7 @@ def create_classifier(self, training_metadata: BinaryIO,
174175
:param TextIO training_data: Training data in CSV format. Each text value
175176
must have at least one class. The data can include up to 3,000 classes and
176177
20,000 records. For details, see [Data
177-
preparation](https://cloud.ibm.com/docs/services/natural-language-classifier?topic=natural-language-classifier-using-your-data).
178+
preparation](https://cloud.ibm.com/docs/natural-language-classifier?topic=natural-language-classifier-using-your-data).
178179
:param dict headers: A `dict` containing the request headers
179180
:return: A `DetailedResponse` containing the result, headers and HTTP status code.
180181
:rtype: DetailedResponse

0 commit comments

Comments
 (0)