def METHOD_NAME(self):
    """
    Fetch Public search action configuration parameters from the database.
    :return: WebSearchAction containing configuration for the action as a dict.
    """
    try:
        action = WebSearchAction.objects(bot=self.bot, name=self.name, status=True).get().to_mongo().to_dict()
        logger.debug("public_search_action_config: " + str(action))
    except DoesNotExist as e:
        logger.exception(e)
        raise ActionFailure("No Public search action found for given action and bot")
    return action