Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/amazon/docs/operators/mwaa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To trigger a DAG run in an Amazon MWAA environment you can use the
:class:`~airflow.providers.amazon.aws.operators.mwaa.MwaaTriggerDagRunOperator`

In the following example, the task ``trigger_dag_run`` triggers a DAG run for the DAG ``hello_world`` in the environment
``MyAirflowEnvironment``.
``MyAirflowEnvironment`` and waits for the run to complete.

.. exampleinclude:: /../../providers/amazon/tests/system/amazon/aws/example_mwaa.py
:language: python
Expand Down
1 change: 1 addition & 0 deletions providers/amazon/tests/system/amazon/aws/example_mwaa.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
task_id="trigger_dag_run",
env_name=env_name,
trigger_dag_id=trigger_dag_id,
wait_for_completion=True,
)
# [END howto_operator_mwaa_trigger_dag_run]

Expand Down
Loading