MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / __getattr__

Method __getattr__

asyncpg/pool.py:91–93  ·  view source on GitHub ↗
(self, attr: str)

Source from the content-addressed store, hash-verified

89 con._set_proxy(self)
90
91 def __getattr__(self, attr: str) -> Any:
92 # Proxy all unresolved attributes to the wrapped Connection object.
93 return getattr(self._con, attr)
94
95 def _detach(self) -> Optional[connection.Connection]:
96 if self._con is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected