Dev-iL commented on code in PR #68314:
URL: https://github.com/apache/airflow/pull/68314#discussion_r3387339769
##########
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:
It's not a Ruff rule, it's our internal rule (like MIG00#) added just now,
which mimics the Ruff api (mainly # noqa)
--
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]