Skip to content

Commit

Permalink
docs: Instructions on custom Airflow Operators (kedro-org#267)
Browse files Browse the repository at this point in the history
instructions on custom Airflow Operators

Signed-off-by: Simon Brugman <[email protected]>
  • Loading branch information
sbrugman authored and Peter Bludau committed Aug 27, 2023
1 parent 87dc014 commit 3f27b95
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kedro-airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit 3f27b95

Please sign in to comment.