You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/18 17:14:08 UTC

[GitHub] [airflow] ashb commented on a change in pull request #6364: [AIRFLOW-5693] Support the "blocks" component for the Slack messages

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