Skip to content

Commit

Permalink
Update csv_export.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zandercymatics committed Nov 14, 2024
1 parent 17acb66 commit ae6ecab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/registrar/utility/csv_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ class DomainRequestsDataType:
"""

@classmethod
def get_filter_conditions(cls, request=None):
def get_filter_conditions(cls, request=None, **kwargs):
if request is None or not hasattr(request, "user") or not request.user.is_authenticated:
return Q(id__in=[])

Expand Down Expand Up @@ -697,7 +697,7 @@ def get_select_related(cls):
return ["domain"]

@classmethod
def get_filter_conditions(cls):
def get_filter_conditions(cls, **kwargs):
"""
Get a Q object of filter conditions to filter when building queryset.
"""
Expand Down Expand Up @@ -791,7 +791,7 @@ def get_select_related(cls):
return ["domain"]

@classmethod
def get_filter_conditions(cls):
def get_filter_conditions(cls, **kwargs):
"""
Get a Q object of filter conditions to filter when building queryset.
"""
Expand Down Expand Up @@ -888,7 +888,7 @@ def get_select_related(cls):
return ["domain"]

@classmethod
def get_filter_conditions(cls, start_date=None, end_date=None):
def get_filter_conditions(cls, start_date=None, end_date=None, **kwargs):
"""
Get a Q object of filter conditions to filter when building queryset.
"""
Expand Down Expand Up @@ -960,7 +960,7 @@ def get_prefetch_related(cls):
return ["permissions"]

@classmethod
def get_filter_conditions(cls, start_date=None, end_date=None):
def get_filter_conditions(cls, start_date=None, end_date=None, **kwargs):
"""
Get a Q object of filter conditions to filter when building queryset.
"""
Expand Down Expand Up @@ -1095,7 +1095,7 @@ def get_prefetch_related(cls):
return ["permissions"]

@classmethod
def get_filter_conditions(cls, start_date=None, end_date=None):
def get_filter_conditions(cls, start_date=None, end_date=None, **kwargs):
"""
Get a Q object of filter conditions to filter when building queryset.
"""
Expand Down Expand Up @@ -1327,7 +1327,7 @@ def get_sort_fields(cls):
]

@classmethod
def get_filter_conditions(cls, start_date=None, end_date=None):
def get_filter_conditions(cls, start_date=None, end_date=None, **kwargs):
"""
Get a Q object of filter conditions to filter when building queryset.
"""
Expand Down

0 comments on commit ae6ecab

Please sign in to comment.