def get_looks_config(config_bundle): """ Creates a looks config from the config bundle :param config_bundle: :return: """ looks_path = config_bundle.get_absolute_path(BOT_CONFIG_MODULE_HEADER, LOOKS_CONFIG_KEY) return BaseAgent._create_looks_configurations().parse_file(looks_path)
def __init__(self, name, file_path=None): super().__init__(BaseAgent._create_looks_configurations(), file_path, name)