about summary refs log tree commit diff
path: root/gn3/db/case_attributes.py
diff options
context:
space:
mode:
authorMunyoki Kilyungi2025-06-25 14:53:04 +0300
committerBonfaceKilz2025-07-07 07:58:31 +0300
commit4fb7cfabb0b327650be4eb2853719f3602bfc5ba (patch)
tree51d7ca2d1752f91bf3aa52c7c1d4e74fef81e545 /gn3/db/case_attributes.py
parent3111d02bdf8884c1478e31789dc448aa95c3179e (diff)
downloadgenenetwork3-4fb7cfabb0b327650be4eb2853719f3602bfc5ba.tar.gz
Delete "get_case_attributes."
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/case_attributes.py')
-rw-r--r--gn3/db/case_attributes.py7
1 files changed, 0 insertions, 7 deletions
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: