3535 GroupT ,
3636 KeysT ,
3737 KeyT ,
38+ Number ,
3839 PatternT ,
3940 ResponseT ,
4041 ScriptTextT ,
@@ -2567,7 +2568,7 @@ class ListCommands(CommandsProtocol):
25672568 """
25682569
25692570 def blpop (
2570- self , keys : List , timeout : Optional [int ] = 0
2571+ self , keys : List , timeout : Optional [Number ] = 0
25712572 ) -> Union [Awaitable [list ], list ]:
25722573 """
25732574 LPOP a value off of the first non-empty list
@@ -2588,7 +2589,7 @@ def blpop(
25882589 return self .execute_command ("BLPOP" , * keys )
25892590
25902591 def brpop (
2591- self , keys : List , timeout : Optional [int ] = 0
2592+ self , keys : List , timeout : Optional [Number ] = 0
25922593 ) -> Union [Awaitable [list ], list ]:
25932594 """
25942595 RPOP a value off of the first non-empty list
@@ -2609,7 +2610,7 @@ def brpop(
26092610 return self .execute_command ("BRPOP" , * keys )
26102611
26112612 def brpoplpush (
2612- self , src : str , dst : str , timeout : Optional [int ] = 0
2613+ self , src : str , dst : str , timeout : Optional [Number ] = 0
26132614 ) -> Union [Awaitable [Optional [str ]], Optional [str ]]:
26142615 """
26152616 Pop a value off the tail of ``src``, push it on the head of ``dst``
0 commit comments