OpenQuizz
Une application de gestion des contenus pédagogiques
ReloaderLoop Class Reference
Inheritance diagram for ReloaderLoop:
Collaboration diagram for ReloaderLoop:

Public Member Functions

def __init__ (self, extra_files=None, interval=1)
 
def run (self)
 
def restart_with_reloader (self)
 
def trigger_reload (self, filename)
 
def log_reload (self, filename)
 

Data Fields

 extra_files
 
 interval
 

Static Public Attributes

 name
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  extra_files = None,
  interval = 1 
)

Member Function Documentation

◆ log_reload()

def log_reload (   self,
  filename 
)

◆ restart_with_reloader()

def restart_with_reloader (   self)
Spawn a new Python interpreter with the same arguments as this one,
but running the reloader thread.

◆ run()

def run (   self)

Reimplemented in WatchdogReloaderLoop, and StatReloaderLoop.

◆ trigger_reload()

def trigger_reload (   self,
  filename 
)

Reimplemented in WatchdogReloaderLoop.

Field Documentation

◆ extra_files

extra_files

◆ interval

interval

◆ name

name
static

The documentation for this class was generated from the following file: