Skip to content

Add aclose method for Redis asyncio version #12419

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion stubs/redis/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "4.6.0"
version = "5.0.0"
upstream_repository = "https://github.com/redis/redis-py"
# Requires a version of cryptography with a `py.typed` file
requires = ["cryptography>=35.0.0", "types-pyOpenSSL"]
Expand Down
1 change: 1 addition & 0 deletions stubs/redis/redis/asyncio/client.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ class Redis(AbstractRedis, RedisModuleCommands, AsyncCoreCommands[_StrType], Asy
) -> None: ...
def __del__(self, _warnings: Any = ...) -> None: ...
async def close(self, close_connection_pool: bool | None = None) -> None: ...
async def aclose(self, close_connection_pool: bool | None = None) -> None: ...
async def execute_command(self, *args, **options): ...
async def parse_response(self, connection: Connection, command_name: str | bytes, **options): ...

Expand Down
Loading