code: def get(
              self,
              section_name,
              key_name,
      ):
          
          value = None
          try:
              value = self.local_config.get(section_name, key_name)
          except Exception as error_msg:
              self.logger.warning(
                  '%s.%s not found in local config', section_name, key_name
              )
              try:
                  value = self.global_config.get(section_name, key_name)
              except Exception as error_msg:
                  self.logger.error(
                      '%s.%s not found in global config', section_name, key_name
                  )
                  raise KeyError('Could not find option in local/global config')
  
          return value
docs: Replicate configparser.get() functionality
  
          Args:
              section_name (str): section name in config
              key_name (str): key name in config.section_name
  
          Returns:
              str: do not check defaults, only return local value
  
          Raises:
              KeyError: unable to find option in either local or global config