From 1f6ed616b87f904172f95473333c15396d6799ac Mon Sep 17 00:00:00 2001 From: Konstantin Lopuhin Date: Fri, 30 May 2025 20:18:48 +0100 Subject: [PATCH] fix example for create_async_connector in the README it's missing await --- 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: