Skip to content

Commit

Permalink
instructions on custom Airflow Operators
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Brugman <[email protected]>
  • Loading branch information
sbrugman committed Jul 12, 2023
1 parent 884c1fe commit 8f7c2c9
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?"_ 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 8f7c2c9

Please sign in to comment.