pypi slack-sdk 3.10.0
version 3.10.0

latest releases: 3.18.5, 3.18.4, 3.18.3...
2 years ago

New Features

All argument supports in WebClient / AsyncWebClient

Since this version, all the methods in WebClient / AsyncWebClient have not only required arguments but also all possible ones in the method signature for better developer experience. Refer to the pull request enabling this #1099 for details.

Easier way to test if a key exists in a Web API response

Now that SlackResponse / AsyncSlackResponse now have __contains__ method, you can test if a key exists in WebClient responses. Refer to the pull request enabling this #1104 for details.

token = "xoxb-"
response = WebClient(token).auth_test()
"error" in response  # True / False

Changes


Don't miss a new slack-sdk release

NewReleases is sending notifications on new releases.