def METHOD_NAME(self, name: str) -> None:
    config = ocio.GetCurrentConfig()
    color_space = ConfigCache.get_default_color_space_name()
    if not color_space:
        color_spaces = ConfigCache.get_color_space_names()
        if color_spaces:
            color_space = color_spaces[0]
    if color_space:
        config.addLook(ocio.Look(name=name, processSpace=color_space))
    else:
        config.addLook(ocio.Look(name=name))