def get_default_payment_method(request):
    active_payment_methods = PaymentMethod.objects.filter(active=True)
    return criteria_utils.get_first_valid(request, active_payment_methods)
Takes one metric or a wildcard seriesList. Out of all metrics
dataset/ETHPy150Open diefenbach/django-lfs/lfs/payment/utils.py/get_default_payment_method--crossover with--dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/removeEmptySeries