@staticmethod
def from_file(filename: str) -> 'WallpaperConfig':
    ' Creates a WallpaperConfig from a YAML file '
    with open(filename, 'r') as input_file:
        return jsons.load(yaml.load(input_file, Loader=yaml.SafeLoader), WallpaperConfig)
Creates a WallpaperConfig from a YAML file
@staticmethod
def from_file(filename: str) -> 'WallpaperConfig':
    '  '
    with open(filename, 'r') as input_file:
        return jsons.load(yaml.load(input_file, Loader=yaml.SafeLoader), WallpaperConfig)