(self)
return self.subscriptions.filter(
            status=enums.SubscriptionStatus.active,
            current_period_end__gt=timezone.now(),
        )
Returns active subscriptions
        (subscriptions with an active status that end in the future).
Returns active subscriptions
        (subscriptions with an active status that end in the future).
Returns active subscriptions ( subscriptions with an active status that end in the future ) .
def active_subscriptions(self):
        """
        Returns active subscriptions
        (subscriptions with an active status that end in the future).
        """
        return self.subscriptions.filter(
            status=enums.SubscriptionStatus.active,
            current_period_end__gt=timezone.now(),
        )
def active_subscriptions ( self ) : return self . subscriptions . filter ( status = enums . SubscriptionStatus . active , current_period_end__gt = timezone . now ( ) , )