Skip to content

Commit b9d60b9

Browse files
author
Lauric Desauw
committed
feat: add save many to filedb
1 parent f1c047f commit b9d60b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

powerapi/database/file_db.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,5 @@ def save_many(self, reports: List[Report]):
144144
145145
:param reports: Batch of data.
146146
"""
147-
raise DBError("FileDB do not support save_many method")
147+
for report in reports:
148+
self.save(report)

0 commit comments

Comments
 (0)