airflow.example_dags.example_python_operator

Example DAG demonstrating the usage of the classic Python operators to execute Python functions natively and within a virtual environment.

Module Contents

Functions

print_context([ds])

Print the Airflow context and ds variable from the context.

Attributes

log

PATH_TO_PYTHON_BINARY

airflow.example_dags.example_python_operator.log[source]
airflow.example_dags.example_python_operator.PATH_TO_PYTHON_BINARY[source]
airflow.example_dags.example_python_operator.print_context(ds=None, **kwargs)[source]

Print the Airflow context and ds variable from the context.

Was this entry helpful?