serkef commented on pull request #5519:
URL: https://github.com/apache/airflow/pull/5519#issuecomment-624219960
@kaxil thanks for testing this. I made the required changes.
> Have you tested that the `SlackAPIPostOperator` still works with
attachments?
Yes, I tested an example DAG locally with the follow task:
```
run_this = SlackAPIPostOperator(
task_id="post_hello",
dag=dag,
token="xxx",
text="Hello",
channel="#welcome",
attachments=[{"pretext": "pre-hello", "text": "text-world"}],
)
```
And result

----------------------------------------------------------------
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:
[email protected]