The GitHub Actions job "Tests (AMD)" on airflow.git/fix/cli-param-none-override 
has failed.
Run started by GitHub user rjgoyln (triggered by rjgoyln).

Head commit for run:
f68c0e6183d9e50fab734a998fc07595931720c0 / rjgoyln <[email protected]>
Keep airflowctl operation defaults when an optional flag is omitted

argparse fills every generated optional flag with None, so a bare
``airflowctl dagrun list`` reached the operations method with
``limit=None`` and discarded the ``limit: int = 100`` that method
declares. Users silently got whatever the API server happens to default
to rather than the limit airflowctl documents.

The method signature is the single source of truth for those defaults,
so an omitted flag has to stay omitted rather than be forwarded as None.
Parameters that already default to None are unaffected — an explicit
filter must stay explicit.

Report URL: https://github.com/apache/airflow/actions/runs/30732589427

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to