fat-catTW commented on code in PR #69267:
URL: https://github.com/apache/airflow/pull/69267#discussion_r3597609550


##########
airflow-core/src/airflow/api_fastapi/common/exceptions.py:
##########
@@ -54,6 +54,52 @@ class _DatabaseDialect(Enum):
     POSTGRES = "postgres"
 
 
+def _build_database_error_response(

Review Comment:
   Updated! 
   Thanks a lot. 
   I moved the shared database error response logic into 
`_DatabaseErrorHandler` and made `SQLAlchemyErrorHandler` extend 
`_DatabaseErrorHandler[SQLAlchemyError]`, so the response-building helper is no 
longer module-level.
   
   :D



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