Skip to content

Commit 31bd60d

Browse files
authored
Merge branch 'master' into pyupgrade_3.8
2 parents 535f9d0 + cefc36e commit 31bd60d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Update `ResponseT` type hint
12
* Allow to control the minimum SSL version
23
* Add an optional lock_name attribute to LockError.
34
* Fix return types for `get`, `set_path` and `strappend` in JSONCommands

redis/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
PatternT = _StringLikeT # Patterns matched against keys, fields etc
3333
FieldT = EncodableT # Fields within hash tables, streams and geo commands
3434
KeysT = Union[KeyT, Iterable[KeyT]]
35-
ResponseT = Union[Awaitable, Any]
35+
ResponseT = Union[Awaitable[Any], Any]
3636
ChannelT = _StringLikeT
3737
GroupT = _StringLikeT # Consumer group
3838
ConsumerT = _StringLikeT # Consumer name

0 commit comments

Comments
 (0)