Undocumented
Class |
|
No class docstring; 0/3 instance variable, 0/1 class variable, 5/8 methods documented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Function | ensure |
Ensure that echo mode is enabled. Some tools such as PDB disable it which causes usability issues after a reload. |
Function | run |
Run the given function in an independent Python interpreter. |
Variable | prefix |
Undocumented |
Variable | reloader |
Undocumented |
Function | _find |
Undocumented |
Function | _find |
Find paths for the stat reloader to watch. Returns imported module files, Python files under non-system paths. Extra files and Python files under extra directories can also be scanned. |
Function | _find |
Find paths for the stat reloader to watch. Looks at the same sources as the stat reloader, but watches everything under directories instead of individual files. |
Function | _get |
Determine how the script was executed, and return the args needed to execute it again in a new process. |
Function | _iter |
Find the filesystem paths associated with imported modules. |
Function | _remove |
Undocumented |
Variable | _ignore |
Undocumented |
Variable | _ignore |
Undocumented |
Variable | _stat |
Undocumented |
Ensure that echo mode is enabled. Some tools such as PDB disable it which causes usability issues after a reload.
t.Callable[ [], None]
, extra_files: t.Optional[ t.Iterable[ str]]
= None, exclude_patterns: t.Optional[ t.Iterable[ str]]
= None, interval: t.Union[ int, float]
= 1, reloader_type: str
= 'auto'):
(source)
¶
Run the given function in an independent Python interpreter.
t.Set[ str]
, exclude_patterns: t.Set[ str]
) -> t.Iterable[ str]
:
(source)
¶
Find paths for the stat reloader to watch. Returns imported module files, Python files under non-system paths. Extra files and Python files under extra directories can also be scanned. System paths have to be excluded for efficiency. Non-system paths, such as a project root or ``sys.path.insert``, should be the paths of interest to the user anyway.
t.Set[ str]
, exclude_patterns: t.Set[ str]
) -> t.Iterable[ str]
:
(source)
¶
Find paths for the stat reloader to watch. Looks at the same sources as the stat reloader, but watches everything under directories instead of individual files.
Determine how the script was executed, and return the args needed to execute it again in a new process.