-
Notifications
You must be signed in to change notification settings - Fork 852
Expand file tree
/
Copy path__init__.py
More file actions
54 lines (36 loc) · 1.43 KB
/
__init__.py
File metadata and controls
54 lines (36 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"""
* The SDK website: https://docs.slack.dev/tools/python-slack-sdk
* PyPI package: https://pypi.org/project/slack-sdk/
Here is the list of key modules in this SDK:
#### Web API Client
* Web API client: `slack_sdk.web.client`
* asyncio-based Web API client: `slack_sdk.web.async_client`
#### Webhook / response_url Client
* Webhook client: `slack_sdk.webhook.client`
* asyncio-based Webhook client: `slack_sdk.webhook.async_client`
#### Socket Mode Client
* The built-in Socket Mode client: `slack_sdk.socket_mode.builtin.client`
* [aiohttp](https://pypi.org/project/aiohttp/) based client: `slack_sdk.socket_mode.aiohttp`
* [websocket_client](https://pypi.org/project/websocket-client/) based client: `slack_sdk.socket_mode.websocket_client`
* [websockets](https://pypi.org/project/websockets/) based client: `slack_sdk.socket_mode.websockets`
#### OAuth
* `slack_sdk.oauth.installation_store.installation_store`
* `slack_sdk.oauth.state_store`
#### Audit Logs API Client
* `slack_sdk.audit_logs.v1.client`
* `slack_sdk.audit_logs.v1.async_client`
#### SCIM API Client
* `slack_sdk.scim.v1.client`
* `slack_sdk.scim.v1.async_client`
"""
import logging
from logging import NullHandler
# from .rtm import RTMClient
from .web import WebClient
from .webhook import WebhookClient
__all__ = [
"WebClient",
"WebhookClient",
]
# Set default logging handler to avoid "No handler found" warnings.
logging.getLogger(__name__).addHandler(NullHandler())