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

Method __aexit__

redis/asyncio/client.py:941–943  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

939 return self
940
941 async def __aexit__(self, *args):
942 await self.connection.disconnect()
943 await self.connection_pool.release(self.connection)
944
945 async def next_command(self) -> MonitorCommandInfo:
946 """Parse the response from a monitor command"""

Callers

nothing calls this directly

Calls 2

disconnectMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected