You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/07/11 13:29:14 UTC
(airflow) branch main updated: docs(SlackNotifier): add newly added unfurl args to the docstring (#40709)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 12ca9d875f docs(SlackNotifier): add newly added unfurl args to the docstring (#40709)
12ca9d875f is described below
commit 12ca9d875fc657a6a0d0cf575216d1ccc195ebaa
Author: Armand Sauzay <35...@users.noreply.github.com>
AuthorDate: Thu Jul 11 15:29:07 2024 +0200
docs(SlackNotifier): add newly added unfurl args to the docstring (#40709)
---
airflow/providers/slack/notifications/slack.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/airflow/providers/slack/notifications/slack.py b/airflow/providers/slack/notifications/slack.py
index aefc4629a1..aee67b9b26 100644
--- a/airflow/providers/slack/notifications/slack.py
+++ b/airflow/providers/slack/notifications/slack.py
@@ -46,6 +46,8 @@ class SlackNotifier(BaseNotifier):
:param proxy: Proxy to make the Slack API call. Optional
:param retry_handlers: List of handlers to customize retry logic in ``slack_sdk.WebClient``. Optional
:param attachments: (legacy) A list of attachments to send with the message. Optional
+ :param unfurl_links: Option to indicate whether text url should unfurl. Optional
+ :param unfurl_media: Option to indicate whether media url should unfurl. Optional
"""
template_fields = ("text", "channel", "username", "attachments", "blocks")