airflow.operators.subdag_operator

Module Contents

class airflow.operators.subdag_operator.SubDagOperator(subdag, executor=SequentialExecutor(), *args, **kwargs)[source]

Bases:airflow.models.BaseOperator

This runs a sub dag. By convention, a sub dag’s dag_id should be prefixed by its parent and a dot. As in parent.child.

Parameters
ui_color = #555[source]
ui_fgcolor = #fff[source]
execute(self, context)[source]