def METHOD_NAME() -> PbenchServerConfig:
    """Get a pbench server configuration object
    The file to use for the configuration is specifed by the environment
    variable, `_PBENCH_SERVER_CONFIG`.
    Raises:
        ConfigFileNotSpecified : when no value is given for the environment
            variable
    Returns:
        A PbenchServerConfig object
    """
    cfg_name = os.environ.get("_PBENCH_SERVER_CONFIG")
    if not cfg_name:
        raise ConfigFileNotSpecified(
            f"{__name__}: ERROR: No config file specified; set _PBENCH_SERVER_CONFIG"
        )
    return PbenchServerConfig.create(cfg_name)