def after_update(self, id: str = None) -> None: """ After each spider is updated, update the cron scheduler correspondingly. :param id: spider_id """ scheduler.update()
def after_update(self, id=None): scheduler.update()