MCPcopy
hub / github.com/Zipstack/unstract / get

Method get

workers/shared/utils/local_context.py:38–42  ·  view source on GitHub ↗
(cls, key: str)

Source from the content-addressed store, hash-verified

36
37 @classmethod
38 def get(cls, key: str) -> Any:
39 if cls.mode == ConcurrencyMode.THREAD:
40 return cls._get_thread_local(key)
41 else:
42 raise RuntimeError(Exceptions.UNKNOWN_MODE)
43
44 @classmethod
45 def set(cls, key: str, val: Any) -> None:

Callers 15

get_pluginMethod · 0.45
is_plugin_enabledMethod · 0.45
get_plugin_configMethod · 0.45
worker.pyFile · 0.45

Calls 1

_get_thread_localMethod · 0.45