Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/slackapi/python-slack-sdk
/ main
Function
main
integration_tests/samples/issues/issue_926.py:10–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
9
10
async
def
main():
11
client = SocketModeClient(app_token=os.environ[
"SLACK_APP_TOKEN"
])
12
await client.connect()
13
await asyncio.sleep(3)
14
await client.close()
15
16
17
if
__name__ ==
"__main__"
:
Callers
1
issue_926.py
File · 0.70
Calls
3
connect
Method · 0.95
close
Method · 0.95
SocketModeClient
Class · 0.90
Tested by
no test coverage detected