vincere-mori opened a new pull request, #67565: URL: https://github.com/apache/airflow/pull/67565
Fixes `airflow dags next-execution --table` when the next Dag run iterator returns `None`. The table branch now handles the no-following-schedule sentinel before applying attribute getters, matching the warning behavior of the non-table output and rendering a row of `None` values instead of crashing. closes: #67394 Tests: - `python -m ruff format --check airflow-core/src/airflow/cli/commands/dag_command.py airflow-core/tests/unit/cli/commands/test_dag_command.py` - `python -m ruff check airflow-core/src/airflow/cli/commands/dag_command.py airflow-core/tests/unit/cli/commands/test_dag_command.py` - `python -m pytest airflow-core/tests/unit/cli/commands/test_dag_command.py::TestCliDags::test_next_execution_table_no_following_schedule -q` blocked locally: Windows checkout does not materialize Airflow shared-library symlinks/workspace the same way Breeze does. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes, Codex Generated-by: Codex following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
