Skip to content

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

Open
ahilashsasidharan wants to merge 1 commit into
apache:mainfrom
ahilashsasidharan:providers/move_dms_template_field_validation_out_of_init
Open

Move amazon dms operators template-field validation to execute()#70450
ahilashsasidharan wants to merge 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.

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.

1 participant