code: def get(cls, label='default', path=None):
          
          if path is None:
              path = _get_config_file_path(
                  cls._xdg_config_dir,
                  cls._xdg_config_file
              )
          with open(path) as config_file:
              return cls(**json.load(config_file)[label])
docs: Read a server configuration from a configuration file.
  
          :param label: A string. The configuration identified by ``label`` is
              read.
          :param path: A string. The configuration file to be manipulated.
              Defaults to what is returned by
              :func:`nailgun.config._get_config_file_path`.
          :returns: A brand new :class:`nailgun.config.BaseServerConfig` object
              whose attributes have been populated as appropriate.
          :rtype: BaseServerConfig