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

Method add_hba_entry

asyncpg/cluster.py:727–729  ·  view source on GitHub ↗
(self, *, type='host', database, user, address=None,
                      auth_method, auth_options=None)

Source from the content-addressed store, hash-verified

725 raise ClusterError('cannot modify HBA records of unmanaged cluster')
726
727 def add_hba_entry(self, *, type='host', database, user, address=None,
728 auth_method, auth_options=None):
729 raise ClusterError('cannot modify HBA records of unmanaged cluster')

Callers

nothing calls this directly

Calls 1

ClusterErrorClass · 0.85

Tested by

no test coverage detected