Dev-iL commented on code in PR #68496:
URL: https://github.com/apache/airflow/pull/68496#discussion_r3521720284


##########
airflow-core/src/airflow/settings.py:
##########
@@ -241,7 +241,11 @@ def load_policy_plugins(pm: pluggy.PluginManager):
 
 
 def _get_async_conn_uri_from_sync(sync_uri):
-    AIO_LIBS_MAPPING = {"sqlite": "aiosqlite", "postgresql": "asyncpg", 
"mysql": "aiomysql"}
+    AIO_LIBS_MAPPING = {
+        "sqlite": "aiosqlite",
+        "postgresql": "psycopg_async" if _USE_PSYCOPG3 else "asyncpg",
+        "mysql": "aiomysql",
+    }
     """Mapping of sync scheme to async scheme."""

Review Comment:
   I don't understand the comment, could you please clarify what you mean? Are 
you suggesting turning the docstring into a comment?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to