You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ur...@apache.org on 2021/06/29 05:21:16 UTC

[airflow] branch main updated (57dcac2 -> 5034414)

This is an automated email from the ASF dual-hosted git repository.

uranusjr pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git.


    from 57dcac2  bump dnspython (#16698)
     add 5034414  AIP-39: Handle DAG scheduling with timetables (#15397)

No new revisions were added by this update.

Summary of changes:
 airflow/api/common/experimental/mark_tasks.py      |   2 +-
 airflow/cli/commands/dag_command.py                |   4 +-
 .../conftest.py => airflow/compat/functools.pyi    |  17 +-
 airflow/exceptions.py                              |   4 +
 airflow/jobs/backfill_job.py                       |   2 +-
 airflow/models/baseoperator.py                     |   2 +-
 airflow/models/dag.py                              | 356 ++++++++++-----------
 airflow/models/dagbag.py                           |   9 +-
 airflow/models/dagrun.py                           |   6 +-
 airflow/models/taskinstance.py                     |  15 +-
 airflow/ti_deps/deps/prev_dagrun_dep.py            |  44 +--
 .../hooks => airflow/timetables}/__init__.py       |   0
 airflow/timetables/base.py                         | 133 ++++++++
 airflow/timetables/interval.py                     |  92 ++++++
 airflow/timetables/schedules.py                    | 207 ++++++++++++
 airflow/timetables/simple.py                       |  78 +++++
 airflow/utils/dates.py                             |   7 +
 airflow/utils/timezone.py                          |  12 +
 airflow/www/views.py                               |  30 +-
 tests/cli/commands/test_dag_command.py             |  11 +-
 tests/jobs/test_backfill_job.py                    |  13 +-
 tests/jobs/test_scheduler_job.py                   |   2 +-
 tests/models/test_dag.py                           |  68 ++--
 tests/models/test_dagrun.py                        |   8 +-
 tests/models/test_taskinstance.py                  |   6 +
 tests/sensors/test_base.py                         |   3 +-
 tests/serialization/test_dag_serialization.py      |  21 +-
 .../perf/scheduler_dag_execution_timing.py         |  10 +-
 .../test_utils/timetables.py                       |  17 +-
 tests/ti_deps/deps/test_prev_dagrun_dep.py         | 198 ++++++------
 .../test_time_table_iter_ranges.py}                |  31 +-
 31 files changed, 976 insertions(+), 432 deletions(-)
 copy tests/cli/conftest.py => airflow/compat/functools.pyi (73%)
 copy {tests/providers/zendesk/hooks => airflow/timetables}/__init__.py (100%)
 create mode 100644 airflow/timetables/base.py
 create mode 100644 airflow/timetables/interval.py
 create mode 100644 airflow/timetables/schedules.py
 create mode 100644 airflow/timetables/simple.py
 copy airflow/www/gunicorn_config.py => tests/test_utils/timetables.py (71%)
 copy tests/{dags/test_retry_handling_job.py => timetables/test_time_table_iter_ranges.py} (58%)