

@classmethod
def construct_from_dict(cls, name, config_dict):
    '\n        First validate the config_dict contents. Raises an exception if validation fails.\n        Upon validation success, return an instance of JobConfig.\n\n        :param name: The name of this job configuration.\n        :type name: str\n        :param config_dict: a dictionary with the keys being config sections (e.g.: setup_build, commands, etc)\n        :type config_dict: dict\n        :return: JobConfig\n        '
    cls._validate(name, config_dict)
    return cls._unpack(cls, config_dict)

dataset/ETHPy150Open box/ClusterRunner/app/master/job_config.py JobConfig.construct_from_dict/VarMisuse@33/188 `name`->`cls`