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

Method __getattr__

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

Source from the content-addressed store, hash-verified

107 con._set_proxy(self)
108
109 def __getattr__(self, attr: str) -> Any:
110 # Proxy all unresolved attributes to the wrapped Connection object.
111 return getattr(self._con, attr)
112
113 def _detach(self) -> Optional[connection.Connection]:
114 if self._con is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected