From 13cda1f32ba613e1fefb80d323dfaa4fab7d45f6 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 25 Jun 2025 14:53:53 +0300 Subject: Delete "get_unreviewed_diffs." Signed-off-by: Munyoki Kilyungi --- gn3/db/case_attributes.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'gn3/db/case_attributes.py') diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py index dc8833b..6bb8b4b 100644 --- a/gn3/db/case_attributes.py +++ b/gn3/db/case_attributes.py @@ -79,16 +79,6 @@ def queue_edit(cursor, directory: Path, edit: CaseAttributeEdit) -> int: return review_ids -def get_unreviewed_diffs(conn: Any) -> Optional[tuple]: - """Fetch all case attributes in GN""" - with conn.cursor() as cursor: - cursor.execute( - "SELECT id, editor, json_diff_data FROM " - "caseattributes_audit WHERE status = 'review'" - ) - return cursor.fetchall() - - def insert_case_attribute_audit( conn: Any, status: str, author: str, data: str ) -> int: -- cgit 1.4.1