code: def _get_type_id_options(name, configuration):
      '''
      Returns the type, id and option of a configuration object.
      '''
      # it's in a form of source.name
      if '.' in name:
          type_, sep, id_ = name.partition('.')
          options = configuration
      else:
          type_ = next(six.iterkeys(configuration))
          id_ = name
          options = configuration[type_]
  
      return type_, id_, optionf _get_type_id_options(name, configuration):
      '''
      Returns the type, id and option of a configuration object.
      '''
      # it's in a form of source.name
      if '.' in name:
          type_, sep, id_ = name.partition('.')
          options = configuration
      else:
          type_ = next(six.iterkeys(configuration))
          id_ = name
          options = configuration[type_]
  
      return type_, id_, options
docs: Returns the type, id and option of a configuration object.