uranusjr commented on code in PR #59874:
URL: https://github.com/apache/airflow/pull/59874#discussion_r2881235789


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/xcoms.py:
##########
@@ -66,7 +66,6 @@ async def has_xcom_access(
         status.HTTP_403_FORBIDDEN: {"description": "Task does not have access 
to the XCom"},
         status.HTTP_404_NOT_FOUND: {"description": "XCom not found"},
     },
-    dependencies=[Depends(has_xcom_access)],

Review Comment:
   `has_xcom_access` does not currently do anything so it should work for 
`bulk_delete_xcoms` now if we change the function signature. I think eventually 
the bulk endpoint should have an access check anyway. Can you try if add 
`has_xcom_access` as a dependency work on the router if some arguments are made 
optional?



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