From d200895eef71f12f2bfef52b3c36d81ddedbf658 Mon Sep 17 00:00:00 2001 From: Szymon Bilinski Date: Wed, 19 Sep 2018 00:10:58 +0200 Subject: [PATCH] [AIRFLOW-XXX] Fix SlackWebhookOperator docs The docs refer to `conn_id` while the actual argument is `http_conn_id`. --- airflow/contrib/operators/slack_webhook_operator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow/contrib/operators/slack_webhook_operator.py b/airflow/contrib/operators/slack_webhook_operator.py index bab3e90856d34..5263b5c0f2b3f 100644 --- a/airflow/contrib/operators/slack_webhook_operator.py +++ b/airflow/contrib/operators/slack_webhook_operator.py @@ -31,8 +31,8 @@ class SlackWebhookOperator(SimpleHttpOperator): Each Slack webhook token can be pre-configured to use a specific channel, username and icon. You can override these defaults in this hook. - :param conn_id: connection that has Slack webhook token in the extra field - :type conn_id: str + :param http_conn_id: connection that has Slack webhook token in the extra field + :type http_conn_id: str :param webhook_token: Slack webhook token :type webhook_token: str :param message: The message you want to send on Slack