Mercurial > libervia-backend
changeset 4092:74c66c0d93f3
core (memory/sqla): fix row to dict conversion in `get_files`
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 09 Jun 2023 12:25:51 +0200 |
parents | 4eb7a5ecbd9d |
children | 13b1079c27ec |
files | libervia/backend/memory/sqla.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/backend/memory/sqla.py Thu Jun 08 21:30:57 2023 +0200 +++ b/libervia/backend/memory/sqla.py Fri Jun 09 12:25:51 2023 +0200 @@ -907,7 +907,7 @@ async with self.session() as session: result = await session.execute(stmt) - return [dict(r) for r in result] + return [r._asdict() for r in result] @aio async def set_file(