code: def extract_formats(config_handle):
      
      configurations = dict(config_handle)
      formats = dict(configurations.get('formats', {}))
      return formats
docs: Get application formats.
  
      See :class:`gogoutils.Formats` for available options.
  
      Args:
          config_handle (configparser.ConfigParser): Instance of configurations.
  
      Returns:
          dict: Formats in ``{$format_type: $format_pattern}``.