Liman

InMemoryStateStorage

In-memory state storage for testing

Attributes

attributeexecutor_statesdict[UUID, dict[str, Any]]
= {}
attributeactor_statesdict[UUID, dict[UUID, dict[str, Any]]]
= {}

Functions

func__init____init__(self) -> None
paramself

Returns

None
funcsave_executor_statesave_executor_state(self, /, execution_id, state) -> None
paramself
paramexecution_idUUID
paramstatedict[str, Any]

Returns

None
funcload_executor_stateload_executor_state(self, /, execution_id) -> dict[str, Any] | None
paramself
paramexecution_idUUID

Returns

dict[str, Any] | None
funcsave_actor_statesave_actor_state(self, /, execution_id, actor_id, state) -> None
paramself
paramexecution_idUUID
paramactor_idUUID
paramstatedict[str, Any]

Returns

None
funcload_actor_stateload_actor_state(self, /, execution_id, actor_id) -> dict[str, Any] | None
paramself
paramexecution_idUUID
paramactor_idUUID

Returns

dict[str, Any] | None
funcdelete_execution_statedelete_execution_state(self, /, execution_id) -> None
paramself
paramexecution_idUUID

Returns

None
funcasave_executor_stateasave_executor_state(self, /, execution_id, state) -> None
paramself
paramexecution_idUUID
paramstatedict[str, Any]

Returns

None
funcaload_executor_stateaload_executor_state(self, /, execution_id) -> dict[str, Any] | None
paramself
paramexecution_idUUID

Returns

dict[str, Any] | None
funcasave_actor_stateasave_actor_state(self, /, execution_id, actor_id, state) -> None
paramself
paramexecution_idUUID
paramactor_idUUID
paramstatedict[str, Any]

Returns

None
funcaload_actor_stateaload_actor_state(self, /, execution_id, actor_id) -> dict[str, Any] | None
paramself
paramexecution_idUUID
paramactor_idUUID

Returns

dict[str, Any] | None
funcadelete_execution_stateadelete_execution_state(self, /, execution_id) -> None
paramself
paramexecution_idUUID

Returns

None

Last updated on