Skip to content

rendering public google common hooks base_hook get_credentials public breaks ComputeEngineHook because that class still refers to the private method #28573

@zazaho

Description

@zazaho

Apache Airflow version

2.5.0

What happened

I was trying to use the example fo creating a google compute VM instance and the code crashes with a AttributeError: ComputeEngineHook has no attribute _get_credentials

What you think should happen instead

No response

How to reproduce

modify the ComputeEngineHook to call get_credentials

Operating System

linux

Versions of Apache Airflow Providers

latest I believe, not sure

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

kind:bugThis is a clearly a bugprovider:googleGoogle (including GCP) related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions