diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-02-06 14:24:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 14:24:07 +0200 |
commit | 30be3a35b18c0041e96e6a1b17fa6b323253d2b2 (patch) | |
tree | a555ed51d83bedc4da733cadfecf801b6e29507a /redis/commands/json/_util.py | |
parent | ba3134cd6bbd9093028badfb3f37f214b6668055 (diff) | |
download | redis-py-30be3a35b18c0041e96e6a1b17fa6b323253d2b2.tar.gz |
Add type hints for JSON commands (#1921)
* add type hints for json commands
* Change json.clear test multi to be up to date with redisjson (#1922)
* fix json clear test
* fix json clear test
* Add support for BZMPOP (#1851)
* add bzmpop
* add comment
* fix pr comment
* fix linters
* fix pr comments
* add client no-evict (#1856)
* Add support for ZINTERCARD (#1857)
* add zintercard
* fix pr comment
* linters
* Add support for EVAL_RO (#1862)
* add sort_ro
* mark test as onlynon cluster
* delete mark test as onlynoncluster
* add eval_ro
* fix linters
* delete sort_ro
* fix pr comment
* add type hints
* add type hints
* linters
* Add support for EVALSHA_RO (#1863)
* add evalsha-ro
* fix pr comment
* add type hints
* add type hints
* Fix naming conventions (#1872)
* fix naming convention
* fix worng changes
* fix naming convention in rootPath
Diffstat (limited to 'redis/commands/json/_util.py')
-rw-r--r-- | redis/commands/json/_util.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redis/commands/json/_util.py b/redis/commands/json/_util.py new file mode 100644 index 0000000..3400bcd --- /dev/null +++ b/redis/commands/json/_util.py @@ -0,0 +1,3 @@ +from typing import Any, Dict, List, Union + +JsonType = Union[str, int, float, bool, None, Dict[str, Any], List[Any]] |