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


##########
airflow-core/src/airflow/api_fastapi/execution_api/app.py:
##########
@@ -287,6 +287,7 @@ def _inject_trace_context_dep(routes, mode: str) -> None:
 
 def create_task_execution_api_app(lifespan: svcs.fastapi.lifespan = lifespan) 
-> FastAPI:
     """Create FastAPI app for task execution API."""
+    from airflow.api_fastapi.core_api.app import init_error_handlers

Review Comment:
   I moved `init_error_handlers()` into `airflow.api_fastapi.common.exceptions` 
so both core and execution API apps import it from the common exception module.
   The execution API factory still registers the shared handlers directly, but 
no longer depends on `core_api.app`. 



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