aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-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: