MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / _set_proxy

Method _set_proxy

asyncpg/connection.py:1761–1767  ·  view source on GitHub ↗
(self, proxy)

Source from the content-addressed store, hash-verified

1759 return _reset_query
1760
1761 def _set_proxy(self, proxy):
1762 if self._proxy is not None and proxy is not None:
1763 # Should not happen unless there is a bug in `Pool`.
1764 raise exceptions.InterfaceError(
1765 'internal asyncpg error: connection is already proxied')
1766
1767 self._proxy = proxy
1768
1769 def _check_listeners(self, listeners, listener_type):
1770 if listeners:

Callers 2

__init__Method · 0.80
_detachMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected