(domain)
return {
        name
        for name, preview in all_previews_by_name().items()
        if preview.enabled(domain)
    }
Return set of preview names that are enabled for the given domain
Return set of preview names that are enabled for the given domain
Return set of preview names that are enabled for the given domain
def previews_enabled_for_domain(domain):
    """Return set of preview names that are enabled for the given domain"""
    return {
        name
        for name, preview in all_previews_by_name().items()
        if preview.enabled(domain)
    }
def previews_enabled_for_domain ( domain ) : return { name for name , preview in all_previews_by_name ( ) . items ( ) if preview . enabled ( domain ) }