class_docstr: A class used to verify usage of intents and utterances.
class_docstr_tok: ["A","class","used","to","verify","usage","of","intents","and","utterances","."]
docstr: Raises a warning if mandatory keys are not present in the config.
  
  Additionally, raises a UserWarning if the assistant_id key is filled with the
  default placeholder value.
docstr_tok: ["Raises","a","warning","if","mandatory","keys","are","not","present","in","the","config",".","Additionally",",","raises","a","UserWarning","if","the","assistant_id","key","is","filled","with","the","default","placeholder","value","."]
code: def warn_if_config_mandatory_keys_are_not_set(self) -> None:
      """Raises a warning if mandatory keys are not present in the config.
  
      Additionally, raises a UserWarning if the assistant_id key is filled with the
      default placeholder value.
      """
      for key in set(CONFIG_MANDATORY_KEYS):
          if key not in self.config:
              rasa.shared.utils.io.raise_warning(
                  f"The config file is missing the '{key}' mandatory key."
              )
  
      assistant_id = self.config.get(ASSISTANT_ID_KEY)
  
      if (
          assistant_id is not None
          and assistant_id == ASSISTANT_ID_DEFAULT_VALUE
      ):
          rasa.shared.utils.io.raise_warning(
              f"The config file is missing a unique value for the "
              f"'{ASSISTANT_ID_KEY}' mandatory key. Please replace the default "
              f"placeholder value with a unique identifier."
          )
  
imports: import logging
  from collections import defaultdict
  from typing import Set, Text, Optional, Dict, Any, List
  import rasa.core.training.story_conflict
  import rasa.shared.nlu.constants
  from rasa.shared.constants import ASSISTANT_ID_DEFAULT_VALUE, ASSISTANT_ID_KEY, CONFIG_MANDATORY_KEYS, DOCS_URL_DOMAINS, DOCS_URL_FORMS, UTTER_PREFIX, DOCS_URL_ACTIONS, REQUIRED_SLOTS_KEY
  from rasa.shared.core import constants
  from rasa.shared.core.constants import MAPPING_CONDITIONS, ACTIVE_LOOP
  from rasa.shared.core.events import ActionExecuted, ActiveLoop
  from rasa.shared.core.events import UserUttered
  from rasa.shared.core.domain import Domain
  from rasa.shared.core.generator import TrainingDataGenerator
  from rasa.shared.core.constants import SlotMappingType, MAPPING_TYPE
  from rasa.shared.core.training_data.structures import StoryGraph
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.nlu.training_data.training_data import TrainingData
  import rasa.shared.utils.io
label_desc: Use image node_id 16 for calling the Validator obj's underlying member method code with example usage: obj.warn_if_config_mandatory_keys_are_not_set() without return types