mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Fix type of blocking_timeout argument to redis.lock.Lock (#6019)
This commit is contained in:
@@ -10,10 +10,10 @@ class Lock:
|
||||
self,
|
||||
redis: Redis[Any],
|
||||
name: str,
|
||||
timeout: None | int | float = ...,
|
||||
timeout: float | None = ...,
|
||||
sleep: float = ...,
|
||||
blocking: bool = ...,
|
||||
blocking_timeout: bool | None = ...,
|
||||
blocking_timeout: float | None = ...,
|
||||
thread_local: bool = ...,
|
||||
) -> None: ...
|
||||
def register_scripts(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user