From 4fb7cfabb0b327650be4eb2853719f3602bfc5ba Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 25 Jun 2025 14:53:04 +0300 Subject: Delete "get_case_attributes." Signed-off-by: Munyoki Kilyungi --- gn3/db/case_attributes.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gn3/db/case_attributes.py') diff --git a/gn3/db/case_attributes.py b/gn3/db/case_attributes.py index 44fdf58..dc8833b 100644 --- a/gn3/db/case_attributes.py +++ b/gn3/db/case_attributes.py @@ -79,13 +79,6 @@ def queue_edit(cursor, directory: Path, edit: CaseAttributeEdit) -> int: return review_ids -def get_case_attributes(conn) -> Optional[Tuple]: - """Get all the case attributes from the database.""" - with conn.cursor() as cursor: - cursor.execute("SELECT Id, Name, Description FROM CaseAttribute") - return cursor.fetchall() - - def get_unreviewed_diffs(conn: Any) -> Optional[tuple]: """Fetch all case attributes in GN""" with conn.cursor() as cursor: -- cgit 1.4.1