MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_state_store

Function get_state_store

core/state.py:429–434  ·  view source on GitHub ↗

Get the global state store instance.

()

Source from the content-addressed store, hash-verified

427
428
429def get_state_store() -> StateStore:
430 """Get the global state store instance."""
431 global _state_store
432 if _state_store is None:
433 _state_store = StateStore()
434 return _state_store
435
436
437def reset_state_store():

Callers 15

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
create_checkpointFunction · 0.90
rollbackFunction · 0.90
list_checkpointsFunction · 0.90
get_latest_checkpointFunction · 0.90
prune_checkpointsFunction · 0.90
_extend_state_schemaFunction · 0.90
get_executorFunction · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls 1

StateStoreClass · 0.85

Tested by

no test coverage detected