Skip to content

Commit a4e66bb

Browse files
committed
Fix invalid return type annotation
1 parent afabed6 commit a4e66bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ def pack_commands(self, commands):
672672
output.append(SYM_EMPTY.join(pieces))
673673
return output
674674

675-
def get_protocol(self) -> int or str:
675+
def get_protocol(self) -> Union[int, str]:
676676
return self.protocol
677677

678678
@property

0 commit comments

Comments
 (0)