blob: 0f8578b696aa616d5a66342841389392d6f8824e [file] [log] [blame]
: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
.. py:data:: log
.. py:function:: print_context(ds=None, **kwargs)
Print the Airflow context and ds variable from the context.