async def set_state(self, token: str, state: BaseState):
        """Set the state for a token.

        Args:
            token: The token to set the state for.
            state: The state to set.
        """
        client_token, substate = _split_substate_key(token)
        await self.set_state_for_substate(client_token, state)
Set the state for a token.

        Args:
            token: The token to set the state for.
            state: The state to set.
        
reflex/istate/manager.py