hterik opened a new issue, #37483: URL: https://github.com/apache/airflow/issues/37483
### Apache Airflow version Other Airflow 2 version (please specify below) ### If "Other Airflow 2 version" selected, which one? 2.7.1 ### What happened? When trying to use `airflow dags test my_parameterized_dag`, i expect `get_parsing_context().dag_id` to be set, so that the local test-environment resembles production as closely as possible, and to save dag parsing time in my local test executions. ### What you think should happen instead? Right now, `get_parsing_context().dag_id` returns `None` instead ### How to reproduce See above ### Operating System Ubuntu 23.10 ### Versions of Apache Airflow Providers _No response_ ### Deployment Other ### Deployment details _No response_ ### Anything else? Documented in https://airflow.apache.org/docs/apache-airflow/stable/howto/dynamic-dag-generation.html#optimizing-dag-parsing-delays-during-execution ### Are you willing to submit PR? - [ ] 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: commits-unsubscr...@airflow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org