Skip to content

Commit bf31c0c

Browse files
authored
Add Deprecation notice for APIClient (#222)
1 parent 861bf6a commit bf31c0c

File tree

2 files changed

+3
-185
lines changed

2 files changed

+3
-185
lines changed

instana/api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ def __init__(self, **kwds):
129129
for key in kwds:
130130
self.__dict__[key] = kwds[key]
131131

132+
log.warn("APIClient: This APIClient will be removed in a future version of this package. Please"
133+
"migrate away as soon as possible.")
134+
132135
if "INSTANA_API_TOKEN" in os.environ:
133136
self.api_token = os.environ["INSTANA_API_TOKEN"]
134137

tests/test_api_client.py

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

0 commit comments

Comments
 (0)