(gt=None, gte=None, lt=None, lte=None)
return filters.nested(
        "actions",
        filters.date_range("actions.date", gt, gte, lt, lte)
    )
Restricts cases returned to those with actions during the range
Restricts cases returned to those with actions during the range
Restricts cases returned to those with actions during the range
def active_in_range(gt=None, gte=None, lt=None, lte=None):
    """Restricts cases returned to those with actions during the range"""
    return filters.nested(
        "actions",
        filters.date_range("actions.date", gt, gte, lt, lte)
    )
def active_in_range ( gt = None , gte = None , lt = None , lte = None ) : return filters . nested ( "actions" , filters . date_range ( "actions.date" , gt , gte , lt , lte ) )