Avihais12344 opened a new issue, #63107: URL: https://github.com/apache/airflow/issues/63107
### Description I think that a function that automatically truncates the `Airflow`'s can be beneficial for us to help us combine and manage the state of airflow with [`dag.test` and debugging dags](https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/debug.html). ### Use case/motivation I want to have a function that I can call using my python code (mostly in my tests) to truncate the whole airflow db locally, it would only work in unit tests mode and on sqlite only (to avoid deleting production db). ### Related issues _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
