Skip to content

Move amazon dms operators template-field validation to execute() - #70450

Merged
shahar1 merged 1 commit into
apache:mainfrom
ahilashsasidharan:providers/move_dms_template_field_validation_out_of_init
Jul 26, 2026
Merged

Move amazon dms operators template-field validation to execute()#70450
shahar1 merged 1 commit into
apache:mainfrom
ahilashsasidharan:providers/move_dms_template_field_validation_out_of_init

Conversation

@ahilashsasidharan

Copy link
Copy Markdown
Contributor

Description

This PR moves template_field validation out of operator __init__ into execute() for the DmsModifyTaskOperator and DmsStartReplicationOperator operators in the providers/amazon/src/airflow/providers/amazon/aws/operators/dms.py file.

Tests

  • Fixed and updated tests under providers/amazon/tests/unit/amazon/aws/operators/test_dms.py to validate the new behaviour and make tests more consistent

related: #70296


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

Generated-by: [Antigravity IDE & Claude Web] following the guidelines


  • 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 merged commit 2200245 into apache:main Jul 26, 2026
83 checks passed
@shahar1 shahar1 removed the backport-to-v3-3-test Backport to v3-3-test label Jul 26, 2026
Kunal8954 pushed a commit to Kunal8954/airflow that referenced this pull request Jul 27, 2026
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.

2 participants