From 8f7c2c9219e30b6cec87e7e3d4c32f25527aa826 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Wed, 12 Jul 2023 14:51:55 +0200 Subject: [PATCH] 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..0def198d5 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?"_ 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`.