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

Method __exit__

redis/client.py:905–907  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

903 return self
904
905 def __exit__(self, *args):
906 self.connection.disconnect()
907 self.connection_pool.release(self.connection)
908
909 def next_command(self):
910 """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