|
1 | 1 | # coding: utf-8
|
2 | 2 |
|
3 |
| -# (C) Copyright IBM Corp. 2016, 2020. |
| 3 | +# (C) Copyright IBM Corp. 2020. |
4 | 4 | #
|
5 | 5 | # Licensed under the Apache License, Version 2.0 (the "License");
|
6 | 6 | # you may not use this file except in compliance with the License.
|
|
25 | 25 | from datetime import datetime
|
26 | 26 | from enum import Enum
|
27 | 27 | from ibm_cloud_sdk_core import BaseService
|
| 28 | +from ibm_cloud_sdk_core import DetailedResponse |
28 | 29 | from ibm_cloud_sdk_core import datetime_to_string, string_to_datetime
|
29 |
| -from ibm_cloud_sdk_core import get_authenticator_from_environment |
| 30 | +from ibm_cloud_sdk_core.get_authenticator import get_authenticator_from_environment |
30 | 31 | from os.path import basename
|
31 | 32 | from typing import BinaryIO
|
32 | 33 | from typing import Dict
|
@@ -358,7 +359,7 @@ def update_classifier(self,
|
358 | 359 | Update a custom classifier by adding new positive or negative classes or by adding
|
359 | 360 | new images to existing classes. You must supply at least one set of positive or
|
360 | 361 | negative examples. For details, see [Updating custom
|
361 |
| - classifiers](https://cloud.ibm.com/docs/services/visual-recognition?topic=visual-recognition-customizing#updating-custom-classifiers). |
| 362 | + classifiers](https://cloud.ibm.com/docs/visual-recognition?topic=visual-recognition-customizing#updating-custom-classifiers). |
362 | 363 | Encode all names in UTF-8 if they contain non-ASCII characters (.zip and image
|
363 | 364 | file names, and classifier and class names). The service assumes UTF-8 encoding if
|
364 | 365 | it encounters non-ASCII characters.
|
@@ -528,7 +529,7 @@ def delete_user_data(self, customer_id: str,
|
528 | 529 | You associate a customer ID with data by passing the `X-Watson-Metadata` header
|
529 | 530 | with a request that passes data. For more information about personal data and
|
530 | 531 | customer IDs, see [Information
|
531 |
| - security](https://cloud.ibm.com/docs/services/visual-recognition?topic=visual-recognition-information-security). |
| 532 | + security](https://cloud.ibm.com/docs/visual-recognition?topic=visual-recognition-information-security). |
532 | 533 |
|
533 | 534 | :param str customer_id: The customer ID for which all data is to be
|
534 | 535 | deleted.
|
|
0 commit comments