def reload(self): self.job_handlers = {} for name in self.plugins: module = importlib.import_module(name) importlib.reload(module)