airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] ashb commented on a change in pull request #6364: [AIRFLOW-5693] Support the "blocks" component for the Slack messages
Date Fri, 18 Oct 2019 17:14:08 GMT
ashb commented on a change in pull request #6364: [AIRFLOW-5693] Support the "blocks" component
for the Slack messages
URL: https://github.com/apache/airflow/pull/6364#discussion_r336591510
 
 

 ##########
 File path: tests/contrib/hooks/test_slack_webhook_hook.py
 ##########
 @@ -35,6 +35,7 @@ class TestSlackWebhookHook(unittest.TestCase):
         'webhook_token': 'manual_token',
         'message': 'Awesome message to put on Slack',
         'attachments': [{'fallback': 'Required plain-text summary'}],
+        'blocks': [{'type': 'section', 'text': {'type': 'mrkdwn', 'text': '*bold text*'}}],
 
 Review comment:
   Does the version of the slack module we support (1.x, not 2.x) support this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message