MCPcopy
hub / github.com/redis/redis-py / close

Method close

redis/asyncio/client.py:770–774  ·  view source on GitHub ↗

Alias for aclose(), for backwards compatibility

(self, close_connection_pool: Optional[bool] = None)

Source from the content-addressed store, hash-verified

768
769 @deprecated_function(version="5.0.1", reason="Use aclose() instead", name="close")
770 async def close(self, close_connection_pool: Optional[bool] = None) -> None:
771 """
772 Alias for aclose(), for backwards compatibility
773 """
774 await self.aclose(close_connection_pool)
775
776 async def _send_command_parse_response(self, conn, command_name, *args, **options):
777 """

Callers 3

_closeMethod · 0.45
disconnectMethod · 0.45
_connectMethod · 0.45

Calls 1

acloseMethod · 0.95

Tested by

no test coverage detected