Skip to content

Commit d0d2e45

Browse files
📝 Add dialog deprecation warning
1 parent 4109b79 commit d0d2e45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

watson_developer_cloud/dialog_v1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class DialogV1(WatsonDeveloperCloudService):
2727

2828
def __init__(self, url=default_url, **kwargs):
2929
WatsonDeveloperCloudService.__init__(self, 'dialog', url, **kwargs)
30+
print('WARNING: The Dialog service was deprecated, existing instances of the service will continue to function until August 9, 2017. See https://www.ibm.com/watson/developercloud/doc/conversation/migration.shtml')
3031

3132
def get_dialogs(self):
3233
return self.request(method='GET', url='/v1/dialogs', accept_json=True)

0 commit comments

Comments
 (0)