GayathriSrividya opened a new pull request, #67642:
URL: https://github.com/apache/airflow/pull/67642

   \`airflow dags next-execution --table\` crashes with \`AttributeError\` when 
the DAG has \`schedule=None\` or \`@once\` (when requesting more than one 
execution via \`--num-executions\`).
   
   The \`--table\` code path applied \`attrgetter\` to every yielded object 
from \`iter_next_dagrun_info()\` without checking for \`None\` first. The 
non-table path already had the correct \`if info is None\` guard. This fix 
mirrors the same guard in the table path and prints a warning to stderr instead 
of crashing.
   
   closes: #67394
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — GitHub Copilot (Claude Sonnet 4.6)
   
   Generated-by: GitHub Copilot (Claude Sonnet 4.6) 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]

Reply via email to