Taragolis opened a new pull request, #25852:
URL: https://github.com/apache/airflow/pull/25852

   ### Refactor Slack API hook
   
   1. Retrieve token and create client outside of `__init__` method
   2. Create new connection type. Right now only Slack Webhook connection 
exists.
   3. Add test method to connection.
   4. Customise Slack API Connection UI.
   5. Show deprecation warning if user provide `token` in Hook argument. IMHO, 
there is not a good idea provide directly token better to use Connection.
   6. Keep compatible with generic connection.
   
   ### Connection UI and Testing Connection
   
   
![image](https://user-images.githubusercontent.com/3998685/185796555-cdb8375f-083b-4b3d-be42-e0700b40720c.png)
   
   
![image](https://user-images.githubusercontent.com/3998685/185796606-70d986ab-62dc-4acc-b247-9b8aa92f16c1.png)
   
   
![image](https://user-images.githubusercontent.com/3998685/185796672-9d52b611-4752-4abe-acac-cce7aa8dddee.png)
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to