fix __dictrow_to_dict_list

This commit is contained in:
mitsuha_s 2022-07-13 22:09:04 +00:00
parent 2dde80f715
commit 6759e61bc2

View file

@ -182,4 +182,4 @@ class Database:
@staticmethod @staticmethod
def __dictrow_to_dict_list(rows: list[DictRow]) -> list[dict]: def __dictrow_to_dict_list(rows: list[DictRow]) -> list[dict]:
"""Convert list of DictRows to list of dicts""" """Convert list of DictRows to list of dicts"""
return list(dict, rows) return list(map(dict, rows))