libraries/botbuilder-core/botbuilder/core/bot_state.py
async def clear_state(self, turn_context: TurnContext):
        """
        Clears any state currently stored in this state scope.
        NOTE: that save_changes must be called in order for the cleared state to be persisted to the underlying store.
        
        :param turn_context: The context object for this turn.
        :return: None
        """
        if turn_context == None:
            raise TypeError('BotState.clear_state(): turn_context cannot be None.')
        
        #  Explicitly setting the hash will mean IsChanged is always true. And that will force a Save.
        cache_value = CachedBotState()
        cache_value.hash = ''
        turn_context.turn_state[self._context_service_key] = cache_value
async def clear_state(self, turn_context: TurnContext):
        """
        Clears any state currently stored in this state scope.
        NOTE: that save_changes must be called in order for the cleared state to be persisted to the underlying store.
        
        :param turn_context: The context object for this turn.
        :return: None
        """
        if turn_context == None:
            raise TypeError('BotState.clear_state(): turn_context cannot be None.')
        
        #  Explicitly setting the hash will mean IsChanged is always true. And that will force a Save.
        cache_value = CachedBotState()
        cache_value.hash = ''
        turn_context.turn_state[self._context_service_key] = cache_value
Clears any state currently stored in this state scope.
        NOTE: that save_changes must be called in order for the cleared state to be persisted to the underlying store.
        
        :param turn_context: The context object for this turn.
        :return: None