Skip to content

Emit GCSToGCSOperator deprecation warnings after rendering#70449

Open
haseebmalik18 wants to merge 1 commit into
apache:mainfrom
haseebmalik18:fix-gcs-to-gcs-template-validation
Open

Emit GCSToGCSOperator deprecation warnings after rendering#70449
haseebmalik18 wants to merge 1 commit into
apache:mainfrom
haseebmalik18:fix-gcs-to-gcs-template-validation

Conversation

@haseebmalik18

Copy link
Copy Markdown
Contributor

source_object, source_objects, and delimiter on GCSToGCSOperator are template fields, so Jinja renders them after __init__ runs. The wildcard/delimiter deprecation warnings were emitted in __init__, so they checked the raw {{ ... }} expressions instead of the rendered values. This moves them into a helper that runs at the start of execute().

Part of #70296.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants