airflow.operators.dummy

Module Contents

Classes

DummyOperator

Operator that does literally nothing. It can be used to group tasks in a

class airflow.operators.dummy.DummyOperator(**kwargs)[source]

Bases: airflow.models.BaseOperator

Operator that does literally nothing. It can be used to group tasks in a DAG.

The task is evaluated by the scheduler but never processed by the executor.

ui_color = #e8f7e4[source]
inherits_from_dummy_operator = True[source]
execute(self, context)[source]

This is the main method to derive when creating an operator. Context is the same dictionary used as when rendering jinja templates.

Refer to get_template_context for more context.

Was this entry helpful?