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

Method _allow_plaintext

tests/test_connect.py:2204–2207  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2202 self._add_hba_entries('hostssl', 'trust')
2203
2204 def _allow_plaintext(self):
2205 self._add_hba_entries('hostnossl', 'trust',
2206 addresses=('127.0.0.0/24',))
2207 self.cluster.reload()
2208
2209 async def test_ssl_startup_retry_boundary(self):
2210 self._allow_plaintext()

Calls 2

_add_hba_entriesMethod · 0.80
reloadMethod · 0.80

Tested by

no test coverage detected