module documentation

Undocumented

Constant DJANGO​_AUTORELOAD​_ENV Undocumented
Variable autoreload​_started Undocumented
Variable file​_changed Undocumented
Variable logger Undocumented
Variable pywatchman Undocumented
Variable termios Undocumented
Class ​Base​Reloader No class docstring; 0/1 property, 0/3 instance variable, 3/9 methods, 0/1 class method documented
Class ​Stat​Reloader Undocumented
Class ​Watchman​Reloader No class docstring; 0/1 property, 0/3 instance variable, 2/14 methods, 0/1 class method documented
Class ​Watchman​Unavailable Undocumented
Function check​_errors Undocumented
Function common​_roots No summary
Function ensure​_echo​_on Ensure that echo mode is enabled. Some tools such as PDB disable it which causes usability issues after reload.
Function get​_child​_arguments Return the executable. This contains a workaround for Windows if the executable is reported to not have the .exe extension which can cause bugs on reloading.
Function get​_reloader Return the most suitable reloader for this environment.
Function is​_django​_module Return True if the given module is nested under Django.
Function is​_django​_path Return True if the given file path is nested under Django.
Function iter​_all​_python​_module​_files Undocumented
Function iter​_modules​_and​_files Iterate through all modules needed to be watched.
Function raise​_last​_exception Undocumented
Function restart​_with​_reloader Undocumented
Function run​_with​_reloader Undocumented
Function start​_django Undocumented
Function sys​_path​_directories Yield absolute directories from sys.path, ignoring entries that don't exist.
Function trigger​_reload Undocumented
Variable ​_error​_files Undocumented
Variable ​_exception Undocumented
DJANGO_AUTORELOAD_ENV: str =

Undocumented

Value
'RUN_MAIN'
autoreload_started =

Undocumented

file_changed =

Undocumented

logger =

Undocumented

pywatchman =

Undocumented

termios =

Undocumented

def check_errors(fn):

Undocumented

@functools.lru_cache(maxsize=1)
def common_roots(paths):
Return a tuple of common roots that are shared between the given paths. File system watchers operate on directories and aren't cheap to create. Try to find the minimum set of directories to watch that encompass all of the files that need to be watched.
def ensure_echo_on():
Ensure that echo mode is enabled. Some tools such as PDB disable it which causes usability issues after reload.
def get_child_arguments():
Return the executable. This contains a workaround for Windows if the executable is reported to not have the .exe extension which can cause bugs on reloading.
def get_reloader():
Return the most suitable reloader for this environment.
def is_django_module(module):
Return True if the given module is nested under Django.
def is_django_path(path):
Return True if the given file path is nested under Django.
def iter_all_python_module_files():

Undocumented

@functools.lru_cache(maxsize=1)
def iter_modules_and_files(modules, extra_files):
Iterate through all modules needed to be watched.
def raise_last_exception():

Undocumented

def restart_with_reloader():

Undocumented

def run_with_reloader(main_func, *args, **kwargs):

Undocumented

def start_django(reloader, main_func, *args, **kwargs):

Undocumented

def sys_path_directories():
Yield absolute directories from sys.path, ignoring entries that don't exist.
def trigger_reload(filename):

Undocumented

_error_files: list =

Undocumented

_exception =

Undocumented