Skip to content

Conversation

@SamWheating
Copy link
Contributor

Re: #33694

After some discussion I came to two conclusions:

  • template_ext causes a lot of confusion for users and is only covered under the documentation for custom operators
  • Its easy to disable template_ext by simply setting it after instantiation.

Anyways, this PR adds some notes around template_ext alongside the other jinja templating docs, including a section about overriding rendering config or disabling rendering altogether.

@potiuk
Copy link
Member

potiuk commented Aug 25, 2023

very nice,

@potiuk potiuk added this to the Airflow 2.7.1 milestone Aug 25, 2023
@potiuk
Copy link
Member

potiuk commented Aug 25, 2023

(after fixing static checks/docs that is)

@potiuk potiuk merged commit a5aa161 into apache:main Aug 25, 2023
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Aug 28, 2023
ephraimbuddy pushed a commit that referenced this pull request Aug 28, 2023
…33735)

* Add documenation explaining template_ext (and how to override it)

* fix static checks

(cherry picked from commit a5aa161)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants