Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs re: template_fields typing and subclasses #29725

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

josh-fell
Copy link
Contributor

Related: #22154

As a suggestion from this issue comment, this PR adds some color on the expected typing template_fields in operators as well as how to add other fields via subclassing as a common use case how-to.

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@potiuk
Copy link
Member

potiuk commented Feb 23, 2023

Very common question answered.

@eladkal eladkal added this to the Airflow 2.5.2 milestone Feb 23, 2023
@eladkal eladkal added the type:doc-only Changelog: Doc Only label Feb 23, 2023
Related: apache#22154

As a suggestion from [this issue comment](apache#22154 (comment)), this PR adds some color on the expected typing `template_fields` in operators as well as how to add other fields via subclassing as a common use case how-to.
@uranusjr uranusjr changed the title Update docs re: template_fields typing and augmenting with subclasses Update docs re: template_fields typing and subclasses Feb 24, 2023
@uranusjr uranusjr merged commit 28573c9 into apache:main Feb 24, 2023
@josh-fell josh-fell deleted the template-fields-docs branch February 24, 2023 14:38
pierrejeambrun pushed a commit that referenced this pull request Mar 7, 2023
pierrejeambrun pushed a commit that referenced this pull request Mar 8, 2023
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.

None yet

4 participants