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


##########
providers/celery/src/airflow/providers/celery/executors/default_celery.py:
##########
@@ -81,7 +81,7 @@ def get_default_celery_config(team_conf) -> dict[str, Any]:
         sql_alchemy_conn = team_conf.get("database", "SQL_ALCHEMY_CONN")
         # In SQLAlchemy 2.1 the default PostgreSQL driver changed from 
psycopg2 to psycopg (v3).
         # To maintain existing behavior, we explicitly specify psycopg2 for 
driverless PostgreSQL URLs.
-        sql_alchemy_conn = sql_alchemy_conn.replace("postgresql://", 
"postgresql+psycopg2://", 1)

Review Comment:
   Resolving since the hook commit was dropped.



-- 
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