Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pywebio/PyWebIO
/ get_current_task_id
Method
get_current_task_id
pywebio/session/threadbased.py:40–41 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
38
39
@classmethod
40
def
get_current_task_id(cls):
41
return
cls._get_task_id(threading.current_thread())
42
43
@staticmethod
44
def
_get_task_id(thread: threading.Thread):
Callers
1
next_client_event
Method · 0.95
Calls
1
_get_task_id
Method · 0.80
Tested by
no test coverage detected