class documentation

class WatchdogReloaderLoop(ReloaderLoop):

View In Hierarchy

Undocumented

Method __enter__ Do any setup, then run one step of the watch to populate the initial filesystem state.
Method __exit__ Clean up any resources associated with the reloader.
Method __init__ Undocumented
Method run Continually run the watch step, sleeping for the configured interval after each step.
Method run​_step Run one step for watching the filesystem. Called once to set up initial state, then repeatedly to update it.
Method trigger​_reload Undocumented
Instance Variable event​_handler Undocumented
Instance Variable name Undocumented
Instance Variable observer Undocumented
Instance Variable should​_reload Undocumented
Instance Variable watches Undocumented

Inherited from ReloaderLoop:

Method log​_reload Undocumented
Method restart​_with​_reloader Spawn a new Python interpreter with the same arguments as the current one, but running the reloader thread.
Instance Variable exclude​_patterns Undocumented
Instance Variable extra​_files Undocumented
Instance Variable interval Undocumented
def __enter__(self):
Do any setup, then run one step of the watch to populate the initial filesystem state.
Returns
ReloaderLoopUndocumented
def __exit__(self, exc_type, exc_val, exc_tb):
Clean up any resources associated with the reloader.
def __init__(self, *args, **kwargs):

Undocumented

Parameters
*args:t.AnyUndocumented
**kwargs:t.AnyUndocumented
def run(self):
Continually run the watch step, sleeping for the configured interval after each step.
def run_step(self):
Run one step for watching the filesystem. Called once to set up initial state, then repeatedly to update it.
def trigger_reload(self, filename):

Undocumented

Parameters
filename:strUndocumented
event_handler =

Undocumented

name =

Undocumented

observer =

Undocumented

should_reload: bool =

Undocumented

watches: t.Dict[str, t.Any] =

Undocumented