From 2cad02f50069b23bfc5366d32cdc1420b18a1a5c Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Fri, 14 Jul 2023 12:47:12 +0200 Subject: [PATCH] docs: Instructions on custom Airflow Operators (#267) instructions on custom Airflow Operators Signed-off-by: Simon Brugman --- kedro-airflow/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kedro-airflow/README.md b/kedro-airflow/README.md index afabe1b51..6b1d59815 100644 --- a/kedro-airflow/README.md +++ b/kedro-airflow/README.md @@ -55,3 +55,11 @@ You can use the additional command line argument `--jinja-file` (alias `-j`) to ```bash kedro airflow create --jinja-file=./custom/template.j2 ``` + +#### What if I want to use a different Airflow Operator? + +Which Airflow Operator to use depends on the environment your project is running in. +You can set the operator to use by providing a custom template. +See ["What if I want to use a different Jinja2 template?"](#what-if-i-want-to-use-a-different-jinja2-template) for instructions on using custom templates. +The [rich offering](https://airflow.apache.org/docs/apache-airflow-providers/operators-and-hooks-ref/index.html) of operators means that the `kedro-airflow` plugin is providing templates for specific operators. +The default template provided by `kedro-airflow` uses the `BaseOperator`.