| :py:mod:`airflow.example_dags.example_python_operator` |
| ====================================================== |
| |
| .. py:module:: airflow.example_dags.example_python_operator |
| |
| .. autoapi-nested-parse:: |
| |
| Example DAG demonstrating the usage of the TaskFlow API to execute Python functions natively and within a |
| virtual environment. |
| |
| |
| |
| Module Contents |
| --------------- |
| |
| |
| Functions |
| ~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.example_dags.example_python_operator.print_context |
| |
| |
| |
| Attributes |
| ~~~~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.example_dags.example_python_operator.log |
| airflow.example_dags.example_python_operator.PYTHON |
| airflow.example_dags.example_python_operator.BASE_DIR |
| |
| |
| .. py:data:: log |
| |
| |
| |
| |
| .. py:data:: PYTHON |
| |
| |
| |
| |
| .. py:data:: BASE_DIR |
| |
| |
| |
| |
| .. py:function:: print_context(ds=None, **kwargs) |
| |
| Print the Airflow context and ds variable from the context. |
| |
| |