malthe opened a new pull request #19361: URL: https://github.com/apache/airflow/pull/19361
This adds support for including or excluding a task execution during a DAG run based on a filtering mechanism that matches on the execution date. The changeset adds two optional parameters `include_date` and `exclude_date` to the base operator class – along with a new method `include_in_dagrun(execution_date)` which determines whether or not to _schedule_ a task instance or immediately mark it as _skipped_. The time filters are instances of classes under `airflow.timefilters` and can be combined using the bitwise and/or operators. Currently implemented time filters: - `airflow.timefilters.cron.CronTimeFilter` – matches on a cron expression -- 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]
