Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Zipstack/unstract
/ _get_thread_local
Method
_get_thread_local
workers/shared/utils/local_context.py:26–27 ·
view source on GitHub ↗
(cls, key: str)
Source
from the content-addressed store, hash-verified
24
25
@classmethod
26
def
_get_thread_local(cls, key: str) -> Any:
27
return
getattr(cls.thread_local, key, None)
28
29
@classmethod
30
def
_set_thread_local(cls, key: str, val: Any) -> None:
Callers
1
get
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected