Show More
@@ -633,14 +633,16 b' class AutoreloadMagics(Magics):' | |||
|
633 | 633 | elif mode == "0" or mode == "off": |
|
634 | 634 | self._reloader.enabled = False |
|
635 | 635 | elif mode == "1" or mode == "explicit": |
|
636 | self._reloader.check_all = False | |
|
637 | 636 | self._reloader.enabled = True |
|
637 | self._reloader.check_all = False | |
|
638 | self._reloader.autoload_obj = False | |
|
638 | 639 | elif mode == "2" or mode == "all": |
|
639 | self._reloader.check_all = True | |
|
640 | 640 | self._reloader.enabled = True |
|
641 | elif mode == "3" or mode == "complete": | |
|
642 | 641 | self._reloader.check_all = True |
|
642 | self._reloader.autoload_obj = False | |
|
643 | elif mode == "3" or mode == "complete": | |
|
643 | 644 | self._reloader.enabled = True |
|
645 | self._reloader.check_all = True | |
|
644 | 646 | self._reloader.autoload_obj = True |
|
645 | 647 | else: |
|
646 | 648 | raise ValueError(f'Unrecognized autoreload mode "{mode}".') |
General Comments 0
You need to be logged in to leave comments.
Login now