def merge_with_dotlist(self, dotlist: List[str]) -> None:
    from omegaconf import OmegaConf

    def fail() -> None:
        raise ValueError('Input list must be a list or a tuple of strings')
    if (not isinstance(dotlist, (list, tuple))):
        fail()
    for arg in dotlist:
        if (not isinstance(arg, str)):
            fail()
        idx = arg.find('=')
        if (idx == (- 1)):
            key = arg
            value = None
        else:
            key = arg[0:idx]
            value = arg[(idx + 1):]
            value = yaml.load(value, Loader=get_yaml_loader())
        OmegaConf.update(self, key, value)
def merge_with_dotlist(self, dotlist: List[str]) -> None:
    from omegaconf import OmegaConf

    def fail() -> None:
        raise ValueError('Input list must be a list or a tuple of strings')
    if (not isinstance(dotlist, (list, tuple))):
        fail()
    for arg in dotlist:
        if (not isinstance(arg, str)):
            fail()
        idx = arg.find('=')
        if (idx == (- 1)):
            key = arg
            value = None
        else:
            key = arg[0:idx]
            value = arg[(idx + 1):]
            value = yaml.load(value, Loader=get_yaml_loader())
        OmegaConf.update(self, key, value)