Skip to content

Commit 7b644bd

Browse files
authored
Merge pull request #726 from watson-developer-cloud/release-4.3.0
Release 4.3.0
2 parents 80b3306 + a056fac commit 7b644bd

39 files changed

+2643
-473
lines changed

examples/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2016 IBM All Rights Reserved.
1+
# (C) Copyright IBM Corp. 2015, 2016.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

examples/assistant_tone_analyzer_integration/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2016 IBM All Rights Reserved.
1+
# (C) Copyright IBM Corp. 2016, 2019.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

examples/assistant_tone_analyzer_integration/tone_detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2016 IBM All Rights Reserved.
1+
# (C) Copyright IBM Corp. 2016, 2019.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

examples/visual_recognition_v4.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
]).get_result()
3838
print(json.dumps(training_data, indent=2))
3939

40+
# update object metadata
41+
updated_object_metadata = service.update_object_metadata(
42+
collection_id=collection_id,
43+
object='giraffe training data',
44+
new_object='updated giraffe training data').get_result()
45+
print(json.dumps(updated_object_metadata, indent=2))
46+
4047
# train collection
4148
train_result = service.train(collection_id).get_result()
4249
print(json.dumps(train_result, indent=2))

ibm_watson/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# coding: utf-8
2-
# Copyright 2016 IBM All Rights Reserved.
2+
# (C) Copyright IBM Corp. 2016, 2019.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

ibm_watson/assistant_v1.py

Lines changed: 722 additions & 49 deletions
Large diffs are not rendered by default.

ibm_watson/assistant_v2.py

Lines changed: 668 additions & 10 deletions
Large diffs are not rendered by default.

ibm_watson/compare_comply_v1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
from datetime import datetime
2626
from enum import Enum
2727
from ibm_cloud_sdk_core import BaseService
28+
from ibm_cloud_sdk_core import DetailedResponse
2829
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
3031
from typing import BinaryIO
3132
from typing import Dict
3233
from typing import List

ibm_watson/discovery_v1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
from datetime import datetime
2929
from enum import Enum
3030
from ibm_cloud_sdk_core import BaseService
31+
from ibm_cloud_sdk_core import DetailedResponse
3132
from ibm_cloud_sdk_core import datetime_to_string, string_to_datetime
32-
from ibm_cloud_sdk_core import get_authenticator_from_environment
33+
from ibm_cloud_sdk_core.get_authenticator import get_authenticator_from_environment
3334
from os.path import basename
3435
from typing import BinaryIO
3536
from typing import Dict

ibm_watson/discovery_v2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
from datetime import datetime
2828
from enum import Enum
2929
from ibm_cloud_sdk_core import BaseService
30+
from ibm_cloud_sdk_core import DetailedResponse
3031
from ibm_cloud_sdk_core import datetime_to_string, string_to_datetime
31-
from ibm_cloud_sdk_core import get_authenticator_from_environment
32+
from ibm_cloud_sdk_core.get_authenticator import get_authenticator_from_environment
3233
from os.path import basename
3334
from typing import BinaryIO
3435
from typing import Dict

0 commit comments

Comments
 (0)