()
return list(Subscription.visible_objects.filter(
        account__block_hubspot_data_for_all_users=True,
        is_active=True,
        account__is_active=True,
    ).values_list('subscriber__domain', flat=True))
Get the list of domains / project spaces that have active subscriptions
    with accounts that have blocked hubspot data.
    :return: list
Get the list of domains / project spaces that have active subscriptions
    with accounts that have blocked hubspot data.
    :return: list
Get the list of domains / project spaces that have active subscriptions with accounts that have blocked hubspot data . : return : list
def get_blocked_hubspot_domains():
    """
    Get the list of domains / project spaces that have active subscriptions
    with accounts that have blocked hubspot data.
    :return: list
    """
    return list(Subscription.visible_objects.filter(
        account__block_hubspot_data_for_all_users=True,
        is_active=True,
        account__is_active=True,
    ).values_list('subscriber__domain', flat=True))
def get_blocked_hubspot_domains ( ) : return list ( Subscription . visible_objects . filter ( account__block_hubspot_data_for_all_users = True , is_active = True , account__is_active = True , ) . values_list ( 'subscriber__domain' , flat = True ) )