mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 15:49:12 +08:00
Fix type of blocking_timeout argument to redis.lock.Lock (#6019)
This commit is contained in:
1 parent
9295c70ec0
commit
18d4868fce
1 file changed
+2
-2
@@ -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