(username, domain)
return {
        toggle_name: toggle_name in all_enabled
        for toggle_name in all_toggles_by_name().keys()
    }
Loads all toggles into a dictionary for use in JS
Loads all toggles into a dictionary for use in JS
Loads all toggles into a dictionary for use in JS
def toggle_values_by_name(username, domain):
    """
    Loads all toggles into a dictionary for use in JS
    """
    all_enabled = toggles_enabled_for_user(username) | toggles_enabled_for_domain(domain)

    return {
        toggle_name: toggle_name in all_enabled
        for toggle_name in all_toggles_by_name().keys()
    }
def toggle_values_by_name ( username , domain ) : all_enabled = toggles_enabled_for_user ( username ) | toggles_enabled_for_domain ( domain ) return { toggle_name : toggle_name in all_enabled for toggle_name in all_toggles_by_name ( ) . keys ( ) }