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