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


##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/assets.py:
##########
@@ -619,6 +620,7 @@ def delete_asset_queued_events(
 @assets_router.delete(
     "/dags/{dag_id}/assets/queuedEvents",
     status_code=status.HTTP_204_NO_CONTENT,
+    response_model=None,

Review Comment:
   I don’t think we need these since the PR already adds `-> None` to those 
functions. This parameter should only only needed if you return something 
different from the return type annotation.
   
   https://fastapi.tiangolo.com/tutorial/response-model/



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