vchiapaikeo commented on code in PR #38192:
URL: https://github.com/apache/airflow/pull/38192#discussion_r1534940649
##########
airflow/www/decorators.py:
##########
@@ -125,6 +126,9 @@ def wrapper(*args, **kwargs):
extra_fields = {**extra_fields, **masked_json}
params = {**request.values, **request.view_args}
+
+ dag_id = params.get("dag_id") or
session.scalar(select(DagRun.dag_id)
+
.where(DagRun.id == params.get("pk")))
Review Comment:
This allows me to still delete taskinstances fine and also dagruns.
<img width="762" alt="image"
src="https://github.com/apache/airflow/assets/9200263/a5292696-d2f3-4f47-b604-bb93ad35e888">
However, if I tried to delete multiple, this would still not work -
<img width="948" alt="image"
src="https://github.com/apache/airflow/assets/9200263/ff9048dc-e80b-4dfc-9ca8-7938b132bd1e">
<img width="945" alt="image"
src="https://github.com/apache/airflow/assets/9200263/14de6dd2-762f-495c-9abe-4984648a1242">
--
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]