hook.runner#
- class immp.hook.runner.RunnerHook(name, config, host)#
Bases:
ResourceHook
Virtual hook that handles reading and writing of config from/to a file.
- schema = None#
- load(base, path, writeable)#
Initialise the runner with a full config and the file path.
- write_config()#
Write the live config out to the target config file, if writing is enabled.
- on_config_change(source)#
Handle a configuration change from another plug or hook.
- Parameters:
source (.Configurable) – Source plug or hook that triggered the event.