diff options
| author | Munyoki Kilyungi | 2025-06-25 14:53:53 +0300 |
|---|---|---|
| committer | BonfaceKilz | 2025-07-07 07:58:31 +0300 |
| commit | 13cda1f32ba613e1fefb80d323dfaa4fab7d45f6 (patch) | |
| tree | 49467a99279ac5abd58601b6152b17c77d7fc9fe /gn3/db/case_attributes.py | |
| parent | 4fb7cfabb0b327650be4eb2853719f3602bfc5ba (diff) | |
| download | genenetwork3-13cda1f32ba613e1fefb80d323dfaa4fab7d45f6.tar.gz | |
Delete "get_unreviewed_diffs."
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db/case_attributes.py')
| -rw-r--r-- | gn3/db/case_attributes.py | 10 |
1 files changed, 0 insertions, 10 deletions
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: |
