code: def read_config(desired_type: Type[ConfigParser], file_object: TextIOBase,
                  logger: Logger, *args, **kwargs) -> ConfigParser:
      
  
      # see https://docs.python.org/3/library/configparser.html for details
      config = ConfigParser()
      config.read_file(file_object)
  
      return config
docs: Helper method to read a configuration file according to the 'configparser' format, and return it as a dictionary
      of dictionaries (section > [property > value])
  
      :param file_object:
      :return: