(self, proxy)
| 1790 | return _reset_query |
| 1791 | |
| 1792 | def _set_proxy(self, proxy): |
| 1793 | if self._proxy is not None and proxy is not None: |
| 1794 | # Should not happen unless there is a bug in `Pool`. |
| 1795 | raise exceptions.InterfaceError( |
| 1796 | 'internal asyncpg error: connection is already proxied') |
| 1797 | |
| 1798 | self._proxy = proxy |
| 1799 | |
| 1800 | def _check_listeners(self, listeners, listener_type): |
| 1801 | if listeners: |