| :py:mod:`airflow.operators.smooth` |
| ================================== |
| |
| .. py:module:: airflow.operators.smooth |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.operators.smooth.SmoothOperator |
| |
| |
| |
| |
| .. py:class:: SmoothOperator(**kwargs) |
| |
| Bases: :py:obj:`airflow.models.baseoperator.BaseOperator` |
| |
| Operator that does literally nothing but it logs YouTube link to |
| Sade song "Smooth Operator". |
| |
| .. py:attribute:: ui_color |
| :annotation: = #e8f7e4 |
| |
| |
| |
| .. py:attribute:: yt_link |
| :annotation: :str = https://www.youtube.com/watch?v=4TYv2PhG89A |
| |
| |
| |
| .. py:method:: execute(self, context) |
| |
| This is the main method to derive when creating an operator. |
| Context is the same dictionary used as when rendering jinja templates. |
| |
| Refer to get_template_context for more context. |
| |
| |
| |