Skip to content

Commit

Permalink
fix(compare-comply): add deprecation notice for CC
Browse files Browse the repository at this point in the history
also updates .gitignore for .venv
  • Loading branch information
apaparazzi0329 committed Mar 2, 2021
1 parent 8689137 commit d006937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -48,6 +48,7 @@ coverage.xml

# virtual env
venv/
.venv/
# python 3 virtual env
python3/

Expand Down
3 changes: 3 additions & 0 deletions ibm_watson/compare_comply_v1.py
Expand Up @@ -59,6 +59,9 @@ def __init__(
Get up to date information from https://github.com/IBM/python-sdk-core/blob/master/README.md
about initializing the authenticator of your choice.
"""
print(
'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.'
)
if version is None:
raise ValueError('version must be provided')

Expand Down

0 comments on commit d006937

Please sign in to comment.