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

Method owns_connection

redis/connection.py:3273–3274  ·  view source on GitHub ↗
(self, connection: "Connection")

Source from the content-addressed store, hash-verified

3271 return
3272
3273 def owns_connection(self, connection: "Connection") -> int:
3274 return connection.pid == self.pid
3275
3276 def disconnect(self, inuse_connections: bool = True) -> None:
3277 """

Callers 3

releaseMethod · 0.95
releaseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected