From 5e18f70b836d16c894c604a9f03e17df4f872be1 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Fri, 12 Apr 2024 16:39:31 -0400 Subject: [PATCH] remove unused function --- ntclient/persistence/sql/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ntclient/persistence/sql/__init__.py b/ntclient/persistence/sql/__init__.py index 4fb11ce..56c8d0d 100644 --- a/ntclient/persistence/sql/__init__.py +++ b/ntclient/persistence/sql/__init__.py @@ -30,14 +30,6 @@ def sql_entries(sql_result: sqlite3.Cursor) -> tuple[list, list, int, Optional[i ) -def sql_entries_headers(sql_result: sqlite3.Cursor) -> tuple: - """Formats and returns a `sql_result()` for console digestion and output""" - rows = sql_result.fetchall() - headers = [x[0] for x in sql_result.description] - - return headers, rows - - # ------------------------------------------------ # Supporting methods # ------------------------------------------------ -- 2.52.0