Skip to content

Conversation

@vandonr-amz
Copy link
Contributor

The way RDS operators are built allows passing arbitrary parameters to the hook via a kwarg named hook_params. However this is not documented anywhere, and the usefulness of the feature looks pretty dubious to me.

We usually just let users pass the aws conn id and eventually the region, not anything they want.
I doubt anyone is using that, so I'm deprecating without any alternative ? If that's an OK thing to do ?

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Jul 4, 2023
warnings.warn(
"The parameter hook_params is deprecated and will be removed. "
"If you were using it, please get in touch either on airflow slack, "
"or by opening a github issue on the project. "
Copy link
Contributor

Choose a reason for hiding this comment

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

Very informative deprecation message. Just a small suggestion -

Suggested change
"or by opening a github issue on the project. "
"or by opening a Github issue on the project. "

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