def raw_app_processes_config(self): """ collated contents of app-processes.yml files, as an AppProcessesConfig object includes environmental-defaults/app-processes.yml as well as <env>/app-processes.yml """ with open(self.paths.app_processes_yml_default) as f: app_processes_json = yaml.safe_load(f) with open(self.paths.app_processes_yml) as f: app_processes_json.update(yaml.safe_load(f)) raw_app_processes_config = AppProcessesConfig.wrap(app_processes_json) raw_app_processes_config.check() return raw_app_processes_config
def _raw_app_processes_config(self): """ collated contents of app-processes.yml files, as an AppProcessesConfig object includes environmental-defaults/app-processes.yml as well as <env>/app-processes.yml """ with open(self.paths.app_processes_yml_default, encoding='utf-8') as f: app_processes_json = from_yaml(f) with open(self.paths.app_processes_yml, encoding='utf-8') as f: app_processes_json.update(from_yaml(f)) raw_app_processes_config = AppProcessesConfig.wrap(app_processes_json) raw_app_processes_config.check() return raw_app_processes_config
def raw_app_processes_config(self): """ collated contents of app-processes.yml files, as an AppProcessesConfig object includes environmental-defaults/app-processes.yml as well as <env>/app-processes.yml """ with open(self.paths.app_processes_yml_default) as f: app_processes_json = yaml.safe_load(f) with open(self.paths.app_processes_yml) as f: app_processes_json.update(yaml.safe_load(f)) raw_app_processes_config = AppProcessesConfig.wrap(app_processes_json) raw_app_processes_config.check() return raw_app_processes_config
def app_processes_config(self): app_processes_config = AppProcessesConfig.wrap(self.raw_app_processes_config.to_json()) app_processes_config.check_and_translate_hosts(self) app_processes_config.check() return app_processes_config
def app_processes_config(self): app_processes_config = AppProcessesConfig.wrap(self.raw_app_processes_config.to_json()) app_processes_config.check_and_translate_hosts(self) app_processes_config.check() return app_processes_config