blob: 2b26b139100f957be5026a5d9152f96321431ee3 [file] [log] [blame]
:mod:`airflow.operators.latest_only_operator`
=============================================
.. py:module:: airflow.operators.latest_only_operator
Module Contents
---------------
.. py:class:: LatestOnlyOperator
Bases: :class:`airflow.models.BaseOperator`, :class:`airflow.models.SkipMixin`
Allows a workflow to skip tasks that are not running during the most
recent schedule interval.
If the task is run outside of the latest schedule interval, all
directly downstream tasks will be skipped.
Note that downstream tasks are never skipped if the given DAG_Run is
marked as externally triggered.
.. attribute:: ui_color
:annotation: = #e9ffdb
.. method:: execute(self, context)