File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Open diff view settings
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Open diff view settings
Original file line number Diff line number Diff line change @@ -2041,7 +2041,7 @@ async def connect(dsn=None, *,
20412041 ... )
20422042 ... con = await asyncpg.connect(user='postgres', ssl=sslctx)
20432043 ... await con.close()
2044- >>> asyncio.run(run ())
2044+ >>> asyncio.run(main ())
20452045
20462046 Example of programmatic SSL context configuration that is equivalent
20472047 to ``sslmode=require`` (no server certificate or host verification):
@@ -2058,7 +2058,7 @@ async def connect(dsn=None, *,
20582058 ... sslctx.verify_mode = ssl.CERT_NONE
20592059 ... con = await asyncpg.connect(user='postgres', ssl=sslctx)
20602060 ... await con.close()
2061- >>> asyncio.run(run ())
2061+ >>> asyncio.run(main ())
20622062
20632063 :param bool direct_tls:
20642064 Pass ``True`` to skip PostgreSQL STARTTLS mode and perform a direct
You can’t perform that action at this time.
0 commit comments