Skip to content

Commit

Permalink
🚧 (memorious) Make dataset statistics after sync
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwoerpel committed Jan 8, 2025
1 parent e25707e commit 63ba387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions leakrfc/sync/memorious.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def load_memorious(self, key: str) -> File | None:

def done(self) -> None:
documents = self.dataset.documents.write()
self.dataset.make_index()
self.dataset.make_size()
self.log_info(
f"Done memorious import from `{self.memorious.uri}`", documents=documents
)
Expand Down

0 comments on commit 63ba387

Please sign in to comment.