Skip to content

Move template-field validation/transformation out of init for Amazon Bedrock operators - #70306

Merged
shahar1 merged 4 commits into
apache:mainfrom
Avcu:init_refactor
Jul 24, 2026
Merged

Move template-field validation/transformation out of init for Amazon Bedrock operators#70306
shahar1 merged 4 commits into
apache:mainfrom
Avcu:init_refactor

Conversation

@Avcu

@Avcu Avcu commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Template fields are rendered only after operators' constructor runs. Therefore, I moved the field transformation logic out of __init__ for Amazon Bedrock operators. I added specific unit tests to verify the updated logic.


Was generative AI tooling used to co-author this PR?
  • [] Yes (please specify the tool below)
  • No

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@shahar1 shahar1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Well done!
I'm resolving the conflicts in the txt file so I could merge it.

shahar1 added 2 commits July 24, 2026 08:17
Keeping resolved operators in the exemption list hides regressions and causes the burn-down tracker to drift from actual code state. This keeps the pre-commit guard aligned with what still needs migration.
@shahar1
shahar1 merged commit 446378d into apache:main Jul 24, 2026
35 checks passed
@Avcu
Avcu deleted the init_refactor branch July 24, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants