-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate the REST/HTTP client (#104)
- Loading branch information
Showing
4 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import sys | ||
import warnings | ||
|
||
from exabel_data_sdk.util.warnings import ExabelDeprecationWarning | ||
|
||
from .client.exabel_client import ExabelClient | ||
|
||
if sys.version_info.major == 3 and sys.version_info.minor == 6: | ||
import warnings | ||
|
||
warnings.warn( | ||
"Python 3.6 is deprecated as of version 3.3.0 of the Exabel Python SDK. Support will be " | ||
"removed in a future release. Please upgrade to Python 3.7 or a newer release of Python.", | ||
FutureWarning, | ||
ExabelDeprecationWarning, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class ExabelDeprecationWarning(FutureWarning): | ||
"""Warning for deprecated features that will be removed or altered in the future.""" |