basic_bot.commons.hub_state
HubState Objects
This class manages the local state of the hub. It is initialized with a default initial state and can be updated with new state data.
__init__
Initializes the hub state with the default state.
get
Return the requested state data for a list of state keys.
update_state_from_message_data
Update state from received message data.
serialize_state
Serialize the current state to JSON.