Skip to content

Conversation

@josuegen
Copy link
Contributor

@josuegen josuegen commented Jul 2, 2025


This PR introduces a small feature from the conversation in this PR.

Initially the docstring in the operator mentioned that there were two arguments available:

  • response_check (callable)
  • response_filter (callable)

Which later I chose not to include them in the first released version of the operator.

Now I'm including the functionality to check the HTTP response before writing the data into GCS

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Jul 2, 2025
@josuegen josuegen changed the title Feature/http to gcs response [FEATURE] Added response validation in HttpToGcsOperator Jul 2, 2025
@@ -22,6 +22,7 @@

from airflow.providers.google.cloud.transfers.http_to_gcs import HttpToGCSOperator

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please add unit tests to cover the functionality you have introduced? Thanks

@josuegen josuegen marked this pull request as draft July 4, 2025 15:41
@josuegen josuegen closed this by deleting the head repository Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants