iosif2 commented on code in PR #53501:
URL: https://github.com/apache/airflow/pull/53501#discussion_r2225956970
##########
airflow-core/src/airflow/api/common/delete_dag.py:
##########
@@ -63,10 +64,20 @@ def delete_dag(dag_id: str, keep_records_in_log: bool =
True, session: Session =
if dag is None:
raise DagNotFound(f"Dag id {dag_id} not found")
- count = 0
+ """
+ To ensure the TaskInstance and DagRun model is deleted before
+ each of the model DagVersion and BackFill respectively.
+ """
Review Comment:
Thank you I updated the docstring styled comment into multiline comment
--
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]