diff --git a/onadata/apps/viewer/models/parsed_instance.py b/onadata/apps/viewer/models/parsed_instance.py index c7c89a25a7..988d7d1675 100644 --- a/onadata/apps/viewer/models/parsed_instance.py +++ b/onadata/apps/viewer/models/parsed_instance.py @@ -196,6 +196,7 @@ def exclude_deleting_submissions_clause(xform_id: int) -> tuple[str, list[int]]: return (f"id NOT IN ({placeholders})", instance_ids) +# pylint: disable=too-many-locals def build_sql_where(xform, query, start=None, end=None): """Build SQL WHERE clause""" known_integers = [