| :mod:`airflow.operators.papermill_operator` |
| =========================================== |
| |
| .. py:module:: airflow.operators.papermill_operator |
| |
| |
| Module Contents |
| --------------- |
| |
| .. py:class:: NoteBook |
| |
| Bases: :class:`airflow.lineage.datasets.DataSet` |
| |
| .. attribute:: type_name |
| :annotation: = jupyter_notebook |
| |
| |
| |
| .. attribute:: attributes |
| :annotation: = ['location', 'parameters'] |
| |
| |
| |
| |
| .. py:class:: PapermillOperator(input_nb, output_nb, parameters, *args, **kwargs) |
| |
| Bases: :class:`airflow.models.BaseOperator` |
| |
| Executes a jupyter notebook through papermill that is annotated with parameters |
| |
| :param input_nb: input notebook (can also be a NoteBook or a File inlet) |
| :type input_nb: str |
| :param output_nb: output notebook (can also be a NoteBook or File outlet) |
| :type output_nb: str |
| :param parameters: the notebook parameters to set |
| :type parameters: dict |
| |
| |
| .. method:: execute(self, context) |
| |
| |
| |
| |