vchiapaikeo commented on PR #38192: URL: https://github.com/apache/airflow/pull/38192#issuecomment-2014159624
> Do we use AirflowModelView.delete anywhere else? Or will pk always be a DagRun.id? Yea, I think this is problematic because `AirflowModelView.delete` is used in several other places. For example, when I try to delete a TaskInstance, I am hit w/ this exception: <img width="1087" alt="image" src="https://github.com/apache/airflow/assets/9200263/1c9b9fda-11b4-4949-8746-1460ded85db9"> <img width="973" alt="image" src="https://github.com/apache/airflow/assets/9200263/18001ca4-4a41-4f3a-96f9-0438cf15f460"> -- 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]
