def __init__(self): self._files = [] self._debug = 0 self._schemas = [] self._aggregates = Aggregates() self._transforms = {} self._macros = {}
def reload(self): ''' Reload all of the configurations. ''' self._debug = 0 self._schemas = [] self._aggregates = Aggregates() self._transforms = {} self._macros = {} for fname in self._files: self._load_source(fname, notify='on_reload')