Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add default gcp_conn_id to GoogleBaseAsyncHook #40080

Conversation

Lee-W
Copy link
Member

@Lee-W Lee-W commented Jun 6, 2024

GoogleBaseHook has a default gcp_conn_id set while GoogleBaseAsyncHook does not which could be an issue when running get_sync_hook.

The following is a list of all the hooks that inherit GoogleBaseAsyncHook. This pull request will update the hooks without default values and will not affect those that already have default values set.

  • gcp_conn_id: str = "google_cloud_default"
    • BigQueryTableAsyncHook
    • AsyncBiqQueryDataTransferServiceHook
    • DataplexAsyncHook
    • GKEAsyncHook
    • GKEKubernetesAsyncHook
    • BatchPredictionJobAsyncHook
    • CustomJobAsyncHook
    • HyperparameterTuningJobAsyncHook
    • PipelineJobAsyncHook
  • No default value set
    • CloudSQLAsyncHook
    • CloudDataTransferServiceAsyncHook
    • AsyncDataflowHook
    • DataFusionAsyncHook
    • GCSAsyncHook
    • MLEngineAsyncHook
    • PubSubAsyncHook

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Jun 6, 2024
@potiuk potiuk merged commit f2a5b1d into apache:main Jun 6, 2024
49 checks passed
fdemiane pushed a commit to fdemiane/airflow that referenced this pull request Jun 6, 2024
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
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