blob: b09edacb88d0ee8c381552f6b3494fe407312cda [file] [log] [blame]
:py:mod:`airflow.example_dags.example_trigger_target_dag`
=========================================================
.. py:module:: airflow.example_dags.example_trigger_target_dag
.. autoapi-nested-parse::
Example usage of the TriggerDagRunOperator. This example holds 2 DAGs:
1. 1st DAG (example_trigger_controller_dag) holds a TriggerDagRunOperator, which will trigger the 2nd DAG
2. 2nd DAG (example_trigger_target_dag) which will be triggered by the TriggerDagRunOperator in the 1st DAG
Module Contents
---------------
Functions
~~~~~~~~~
.. autoapisummary::
airflow.example_dags.example_trigger_target_dag.run_this_func
Attributes
~~~~~~~~~~
.. autoapisummary::
airflow.example_dags.example_trigger_target_dag.run_this
.. py:function:: run_this_func(dag_run=None)
Print the payload "message" passed to the DagRun conf attribute.
:param dag_run: The DagRun object
.. py:data:: run_this