8000 Add missing redis modules and classes by srittau · Pull Request #7676 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Add missing redis modules and classes #7676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
May 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix release return type
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
srittau and JelleZijlstra authored Apr 30, 2022
commit dc295f9e27b972889af7c58ebaa5e10ffce5c1bd
2 changes: 1 addition & 1 deletion stubs/redis/redis/asyncio/lock.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Lock:
async def do_acquire(self, token: str | bytes) -> bool: ...
async def locked(self) -> bool: ...
async def owned(self) -> bool: ...
def release(self) -> Awaitable[NoReturn]: ...
def release(self) -> Awaitable[None]: ...
async def do_release(self, expected_token: bytes): ...
def extend(self, additional_time: float, replace_ttl: bool = ...) -> Awaitable[bool]: ...
async def do_extend(self, additional_time, replace_ttl) -> bool: ...
Expand Down
0