SubDagOperator
Apache AirflowThis class is deprecated. Please use airflow.utils.task_group.TaskGroup.
Access Instructions
Install the Apache Airflow provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
subdagRequiredthe DAG object to run as a subdag of the current DAG.
sessionsqlalchemy session
confConfiguration for the subdag
propagate_skipped_stateby setting this argument you can define whether the skipped state of leaf task(s) should be propagated to the parent dag’s downstream task.
Documentation
This class is deprecated. Please use airflow.utils.task_group.TaskGroup.
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. Although SubDagOperator can occupy a pool/concurrency slot, user can specify the mode=reschedule so that the slot will be released periodically to avoid potential deadlock.