MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / _clear_shared_data

Function _clear_shared_data

datastudio/models/mp_openai_api.py:44–48  ·  view source on GitHub ↗

Clear module-level globals after workers finish.

()

Source from the content-addressed store, hash-verified

42
43
44def _clear_shared_data():
45 """Clear module-level globals after workers finish."""
46 global _SHARED_MESSAGES, _SHARED_MODEL_KWARGS
47 _SHARED_MESSAGES = None
48 _SHARED_MODEL_KWARGS = None
49
50
51def _worker_fn(args):

Callers 1

generateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected