The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
1c93b6fa32206947d6894d78ecae67b33da298be / Ash Berlin-Taylor <[email protected]>
Refactor stat helper methods on DagFileProcessorManager

This is some cleanup/preporatory work in order to swap the Dag processor over
to use the TaskSDK, and this small change is done to make the future work
easier.

The main bulk of this change is to remote the `get_*` helper methods and make
`_file_stats` a defaultdict instead, and then also swap the DagFileStat class
from a NamedTuple (which can't have defaults) to an attrs-defined class which
does.

To make some of the places of use nicer/still one line, the type of
last_duration was changed form a timedelta to a float, as this was what the
`get_last_runtime` method did, and we don't need any of the capabilities of a
timedelta object elsewhere.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to