Load next step handlers from save file This function is left to keep backward compatibility whose purpose was to load handlers from file with the help of FileHandlerBackend and is only recommended to use if next_step_backend was assigned as FileHandlerBackend before
(self, filename="./.handler-saves/step.save", del_file_after_loading=True)
| 382 | |
| 383 | |
| 384 | def load_next_step_handlers(self, filename="./.handler-saves/step.save", del_file_after_loading=True): |
| 385 | """ |
| 386 | Load next step handlers from save file |
| 387 | |
| 388 | This function is left to keep backward compatibility whose purpose was to load handlers from file with the |
| 389 | help of FileHandlerBackend and is only recommended to use if next_step_backend was assigned as |
| 390 | FileHandlerBackend before entering this function |
| 391 | |
| 392 | |
| 393 | :param filename: Filename of the file where handlers was saved, defaults to "./.handler-saves/step.save" |
| 394 | :type filename: :obj:`str`, optional |
| 395 | |
| 396 | :param del_file_after_loading: If True is passed, after the loading file will be deleted, defaults to True |
| 397 | :type del_file_after_loading: :obj:`bool`, optional |
| 398 | """ |
| 399 | self.next_step_backend.load_handlers(filename, del_file_after_loading) |
| 400 | |
| 401 | |
| 402 | def load_reply_handlers(self, filename="./.handler-saves/reply.save", del_file_after_loading=True): |
no test coverage detected