From 557539b2b54c975fa68fe681467ce6a080d1f14b Mon Sep 17 00:00:00 2001 From: Anton Kamalov Date: Tue, 10 Dec 2024 01:23:54 +0300 Subject: [PATCH] Procedure rewrite --- App/Database/work.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/App/Database/work.py b/App/Database/work.py index 23aba44..e0105c3 100644 --- a/App/Database/work.py +++ b/App/Database/work.py @@ -19,10 +19,6 @@ def procedure(db_config, name, args: tuple) -> list: raise ValueError("Cursor not created") else: cursor.callproc(name, args) - result = cursor.fetchall()[0] - schema = cursor.description[0] - lst = dict(zip(schema, result)) - return lst def transaction(cursor, sql):