Skip to content

Conversation

Taragolis
Copy link
Contributor

follow-up: #26452

Right now SlackWebhookOperator based on SimpleHttpOperator but do not use any of parent attributes internally except http_conn_id. Mainly because SlackWebhookOperator entirely overwrite execute method and do not propagated SimpleHttpOperator attributes in hook constructor.

Since last changes in SlackWebhookHook also do not use anything from http-provider.

So there is not reason keep apache-airflow-providers-http as a dependency to the slack provider.

@Taragolis Taragolis force-pushed the slack-remove-http-as-dependency branch from 792c75a to cf15073 Compare September 24, 2022 07:26
Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

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

Good call. It does not change much because Http provider is always pre-installed with Airflow, but it is indeed simpler and cleaner.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants