(self)
return list(Subscription.visible_objects.filter(
            account=self.owner,
            is_active=True
        ).values_list('subscriber__domain', flat=True))
Returns a list of active domains/project spaces for this identity
        provider.
        :return: list of strings (domain names)
Returns a list of active domains/project spaces for this identity
        provider.
        :return: list of strings (domain names)
Returns a list of active domains / project spaces for this identity provider . : return : list of strings ( domain names )
def get_active_projects(self):
        """
        Returns a list of active domains/project spaces for this identity
        provider.
        :return: list of strings (domain names)
        """
        return list(Subscription.visible_objects.filter(
            account=self.owner,
            is_active=True
        ).values_list('subscriber__domain', flat=True))
def get_active_projects ( self ) : return list ( Subscription . visible_objects . filter ( account = self . owner , is_active = True ) . values_list ( 'subscriber__domain' , flat = True ) )