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.

Attributes

log

PATH_TO_PYTHON_BINARY

Functions

print_context([ds])

Print the Airflow context and ds variable from the context.

Module Contents

airflow.example_dags.example_python_operator.log[source]
airflow.example_dags.example_python_operator.PATH_TO_PYTHON_BINARY = '/usr/local/bin/python'[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?