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

Remove redundant connection params from AwsBaseHookAsync #758

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

bharanidharan14
Copy link
Contributor

@bharanidharan14 bharanidharan14 commented Nov 15, 2022

Used AwsConnectionWrapper for getting the connection params which we don't need to cover the details from our end, it will cover all the missing params passed in the AWS connections. This will also cover removing the redundant.

Closes: #732

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Base: 98.49% // Head: 98.51% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (40bc84f) compared to base (3de8b00).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #758      +/-   ##
==========================================
+ Coverage   98.49%   98.51%   +0.01%     
==========================================
  Files          86       86              
  Lines        4658     4639      -19     
==========================================
- Hits         4588     4570      -18     
+ Misses         70       69       -1     
Impacted Files Coverage Δ
astronomer/providers/amazon/aws/hooks/base_aws.py 100.00% <100.00%> (+3.33%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bharanidharan14
Copy link
Contributor Author

@rajaths010494 @pankajastro @pankajkoti @phanikumv Can you guys review this PR

Copy link
Collaborator

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

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

Looks good to me. Can you please verify that all AWS DAGs run fine with this change before merging?

@bharanidharan14
Copy link
Contributor Author

redundant

Sure

@phanikumv phanikumv changed the title Fix Aws base async hook on connection details Remove redundant connection params from AwsbaseHookAsync Nov 22, 2022
@phanikumv phanikumv changed the title Remove redundant connection params from AwsbaseHookAsync Remove redundant connection params from AwsBaseHookAsync Nov 22, 2022
@phanikumv phanikumv merged commit ff25eda into main Nov 22, 2022
@phanikumv phanikumv deleted the fix-aws-connection-details branch November 22, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add missing additional params in AwsBaseHookAsync connection details
3 participants