fix __dictrow_to_dict_list
This commit is contained in:
parent
2dde80f715
commit
6759e61bc2
|
@ -182,4 +182,4 @@ class Database:
|
|||
@staticmethod
|
||||
def __dictrow_to_dict_list(rows: list[DictRow]) -> list[dict]:
|
||||
"""Convert list of DictRows to list of dicts"""
|
||||
return list(dict, rows)
|
||||
return list(map(dict, rows))
|
||||
|
|
Loading…
Reference in a new issue