Skip to content

Commit c44fb25

Browse files
authored
Merge pull request #101 from watson-developer-cloud/deprecate-alchemyvision
Remove AlchemyVision example and add deprecation message, closes #98
2 parents 786bd3d + 53d3f9d commit c44fb25

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

examples/alchemy_vision_v1.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

watson_developer_cloud/alchemy_vision_v1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020

2121

2222
class AlchemyVisionV1(WatsonDeveloperCloudService):
23+
"""AlchemyVision was deprecated, migrate your application to use VisualRecognition."""
2324
default_url = 'https://gateway-a.watsonplatform.net/calls'
2425

2526
def __init__(self, url=default_url, **kwargs):
2627
WatsonDeveloperCloudService.__init__(self, 'alchemy_api', url, **kwargs)
28+
print('WARNING: The AlchemyVision service was deprecated, use VisualRecognitionV3 instead')
2729

2830
def get_image_keywords(self, image_file=None, image_url=None, knowledge_graph=False, force_show_all=False):
2931
method_name = 'GetRankedImageKeywords'

0 commit comments

Comments
 (0)