Skip to content

Commit

Permalink
Hotfix: removed strict = True from all zip() operations, since it cau…
Browse files Browse the repository at this point in the history
…sed errors in convertool
  • Loading branch information
Magnus Lindholm committed Sep 6, 2023
1 parent 6fa18c8 commit 2b25df3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acacore/database/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b25df3

Please sign in to comment.