From 604edda20f1525776b97e7c1737a925234d676ce Mon Sep 17 00:00:00 2001 From: Kevin Lloyd Bernal Date: Sat, 21 Jun 2025 22:44:15 +1000 Subject: [PATCH] fix README: add await to create_async_connector() call --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c5489e04..9bea3d6d6 100644 --- a/README.md +++ b/README.md @@ -566,7 +566,7 @@ from google.cloud.sql.connector import Connector, create_async_connector async def main(): # initialize Connector object for connections to Cloud SQL - connector = create_async_connector() + connector = await create_async_connector() # creation function to generate asyncpg connections as the 'connect' arg async def getconn(instance_connection_name, **kwargs) -> asyncpg.Connection: