airflow.example_dags.example_python_context_operator

Example DAG demonstrating the usage of the PythonOperator with get_current_context() to get the current context.

Also, demonstrates the usage of the classic Python operators.

Module Contents

Functions

print_context()

Print the Airflow context.

Attributes

SOME_EXTERNAL_PYTHON

airflow.example_dags.example_python_context_operator.SOME_EXTERNAL_PYTHON[source]
airflow.example_dags.example_python_context_operator.print_context()[source]

Print the Airflow context.

Was this entry helpful?