nb_cli.handlers.reloader
class FileFilter(includes=None, excludes=None)
ๅๆฐ
includes
(list[str] | None)excludes
(list[str] | None)
class Reloader(startup_func, shutdown_func, reload_dirs=None, file_filter=None, cwd=None, stdout=None)
ๅๆฐ
startup_func
(() -> Coroutine[Any, Any, asyncio.subprocess.Process])shutdown_func
((asyncio.subprocess.Process) -> Coroutine[Any, Any, NoneType])reload_dirs
(list[pathlib.Path] | None)file_filter
(FileFilter | None)cwd
(pathlib.Path | None)stdout
(IO[Any] | None)
method handle_exit(self, sig, frame)
ๅๆฐ
sig
frame
่ฟๅ
- Unknown
async method restart(self)
่ฟๅ
- None
async method run(self)
่ฟๅ
- None
async method should_restart(self)
่ฟๅ
- list[pathlib.Path] | None
async method shutdown(self)
่ฟๅ
- None
async method startup(self)
่ฟๅ
- None