Skip to content

Commit ca3ffdc

Browse files
authored
Merge branch 'master' into ps_fix_releasing_of_connection_not_owned_by_pool
2 parents f18988d + 799716c commit ca3ffdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/connection.py

Lines changed: 1 addition & 1 deletion
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)