We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 535f9d0 + cefc36e commit 31bd60dCopy full SHA for 31bd60d
CHANGES
@@ -1,3 +1,4 @@
1
+ * Update `ResponseT` type hint
2
* Allow to control the minimum SSL version
3
* Add an optional lock_name attribute to LockError.
4
* Fix return types for `get`, `set_path` and `strappend` in JSONCommands
redis/typing.py
@@ -32,7 +32,7 @@
32
PatternT = _StringLikeT # Patterns matched against keys, fields etc
33
FieldT = EncodableT # Fields within hash tables, streams and geo commands
34
KeysT = Union[KeyT, Iterable[KeyT]]
35
-ResponseT = Union[Awaitable, Any]
+ResponseT = Union[Awaitable[Any], Any]
36
ChannelT = _StringLikeT
37
GroupT = _StringLikeT # Consumer group
38
ConsumerT = _StringLikeT # Consumer name
0 commit comments