Skip to content

Conversation

@blcksrx
Copy link
Contributor

@blcksrx blcksrx commented Feb 15, 2021


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

@boring-cyborg boring-cyborg bot added the provider:amazon AWS/Amazon - related issues label Feb 15, 2021
@turbaszek
Copy link
Member

@subashcanapathy @o-nikolas can you please take a look?

Copy link
Member

Choose a reason for hiding this comment

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

There is a better fix: instead of handling region_name argument ourselves, if we remove it as a named parameter we can let the parent class constructor set self.region_name.

Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like ../hooks/s3.py and glue.py both extend AwsBaseHook, and s3.py passed it up to super() to handle the region_name assignment.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

@blcksrx blcksrx requested a review from ashb April 1, 2021 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants