diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2023-03-23 12:52:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 12:52:01 +0200 |
commit | 753018ebc23021ba726253f3962a69a0e363d41f (patch) | |
tree | 26e1442a42b95b7a5b5f2900ef694b68f381be82 /redis/utils.py | |
parent | 66a4d6b2a493dd3a20cc299ab5fef3c14baad965 (diff) | |
download | redis-py-753018ebc23021ba726253f3962a69a0e363d41f.tar.gz |
Reorganizing the parsers code, and add support for RESP3 (#2574)
* Reorganizing the parsers code
* fix build package
* fix imports
* fix flake8
* add resp to Connection class
* core commands
* python resp3 parser
* pipeline
* async resp3 parser
* some asymc tests
* resp3 parser for async cluster
* async commands tests
* linters
* linters
* linters
* fix ModuleNotFoundError
* fix tests
* fix assert_resp_response_in
* fix command_getkeys in cluster
* fail-fast false
* version
---------
Co-authored-by: Chayim I. Kirshen <c@kirshen.com>
Diffstat (limited to 'redis/utils.py')
-rw-r--r-- | redis/utils.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/redis/utils.py b/redis/utils.py index d95e62c..a6e6200 100644 --- a/redis/utils.py +++ b/redis/utils.py @@ -13,6 +13,13 @@ except ImportError: HIREDIS_PACK_AVAILABLE = False try: + import ssl # noqa + + SSL_AVAILABLE = True +except ImportError: + SSL_AVAILABLE = False + +try: import cryptography # noqa CRYPTOGRAPHY_AVAILABLE = True |