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

Function _get_initdb_options

asyncpg/_testbase/__init__.py:229–239  ·  view source on GitHub ↗
(initdb_options=None)

Source from the content-addressed store, hash-verified

227
228
229def _get_initdb_options(initdb_options=None):
230 if not initdb_options:
231 initdb_options = {}
232 else:
233 initdb_options = dict(initdb_options)
234
235 # Make the default superuser name stable.
236 if 'username' not in initdb_options:
237 initdb_options['username'] = 'postgres'
238
239 return initdb_options
240
241
242def _init_default_cluster(initdb_options=None):

Callers 2

_init_default_clusterFunction · 0.85
new_clusterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…