Skip to content

Commit d006937

Browse files
fix(compare-comply): add deprecation notice for CC
also updates .gitignore for .venv
1 parent 8689137 commit d006937

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ coverage.xml
4848

4949
# virtual env
5050
venv/
51+
.venv/
5152
# python 3 virtual env
5253
python3/
5354

ibm_watson/compare_comply_v1.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def __init__(
5959
Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md
6060
about initializing the authenticator of your choice.
6161
"""
62+
print(
63+
'warning: On 30 November 2021, Compare and Comply will no longer be available. For more information, see https://github.com/watson-developer-cloud/python-sdk#compare-and-comply-deprecation.'
64+
)
6265
if version is None:
6366
raise ValueError('version must be provided')
6467

0 commit comments

Comments
 (0)