We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8033c9 commit 0fb52a4Copy full SHA for 0fb52a4
pypgstac/pypgstac/pypgstac.py
@@ -324,7 +324,7 @@ async def wait_on_connection() -> bool:
324
raise Exception("Unable to connect to database")
325
try:
326
print(".", end="", flush=True)
327
- conn = await asyncpg.connect()
+ conn = await asyncpg.connect(dsn=dsn)
328
await conn.execute("SELECT 1")
329
await conn.close()
330
print("success!")
0 commit comments