uranusjr commented on code in PR #38913: URL: https://github.com/apache/airflow/pull/38913#discussion_r1560404962
########## airflow/www/security_manager.py: ########## @@ -200,7 +200,7 @@ def get_dag_id_from_task_instance(resource_pk): return None composite_pk = json.loads(resource_pk) ti = session.scalar( - select(DagRun) + select(TaskInstance) Review Comment: Maybe we should just do `select(TaskInstance.dag_id)` here since we really onlt use the field below? -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org