From 2b25df304f6f8bcc9b117b42eb67caeecded4ca7 Mon Sep 17 00:00:00 2001 From: Magnus Lindholm Date: Wed, 6 Sep 2023 12:34:25 +0200 Subject: [PATCH] Hotfix: removed strict = True from all zip() operations, since it caused errors in convertool --- acacore/database/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/acacore/database/base.py b/acacore/database/base.py index 9d733f5..6bee159 100644 --- a/acacore/database/base.py +++ b/acacore/database/base.py @@ -89,8 +89,7 @@ def fetchall(self, model: Optional[Type[M]] = None) -> Generator[Union[dict[str, ) return ( - {c.alias or c.name: c.from_entry(v) for c, v in zip(select_columns, vs)} - for vs in self.cursor.fetchall() + {c.alias or c.name: c.from_entry(v) for c, v in zip(select_columns, vs)} for vs in self.cursor.fetchall() ) @overload