def __iter__(cls):
    'Getting subclasses which usually represent resolutions'
    for attr in vars(cls):
        if (not attr.startswith('_')):
            (yield cls[attr])
Getting subclasses which usually represent resolutions
def __iter__(cls):
    
    for attr in vars(cls):
        if (not attr.startswith('_')):
            (yield cls[attr])