code: def parse(self, configManager, config):
          
  
          configFile = self._getConfigFile(config)
  
          if not configFile:
              return dict()
  
          yamlConfigs = yaml.load(configFile)
          if isinstance(yamlConfigs, dict):
              return yamlConfigs
  
          raise self.subparserException("YAML config parsed did not result in a dictionary, but instead a: %s"
                                        % type(yamlConfigs))
docs: Parse configuration options out of a YAML configuration file.
  
          Inputs: configManager - Our parent ConfigManager instance which is constructing the Config object.
                  config        - The _Config object containing configuration options populated thus far.
  
          Outputs: A dictionary of new configuration options to add to the Config object.