[job] add 'init' option

This commit is contained in:
Mike Fährmann
2026-02-01 20:48:37 +01:00
parent efa301fcc2
commit 56dcd00391
3 changed files with 27 additions and 0 deletions

View File

@@ -274,6 +274,10 @@ class Job():
self.pred_post = self._prepare_predicates("post", False)
self.pred_queue = self._prepare_predicates("chapter", False)
init = self.extractor.config("init", False)
if init and init != "lazy":
self.initialize()
def _prepare_predicates(self, target, skip):
predicates = []
extr = self.extractor