Skip to content

Conversation

@utkarsharma2
Copy link
Contributor

Currently, in the BaseAWS hook, the custom waiter doesn't work with resource_type, only client_type is supported. In this PR we are overriding the client when the user uses resource_type's hooks with boto3.client(). This PR temporarily fixes the issue on the Airflow side, until it is not fixed in Botocore.

@utkarsharma2 utkarsharma2 marked this pull request as ready for review April 27, 2023 12:05
@o-nikolas
Copy link
Contributor

CC @ferruzzi

@o-nikolas o-nikolas requested a review from ferruzzi April 27, 2023 18:46
Copy link
Contributor

@ferruzzi ferruzzi left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for submitting this. Looks good to me. I assume you tried it out with your new DynamoDB waiter?

@utkarsharma2
Copy link
Contributor Author

@ferruzzi Yes, tested it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants