Lines Matching defs:yaml
30 from third_party.PyYAML.lib import yaml # noqa: E402
33 _EMPTY_YAML = "empty yaml file input"
34 _INVALID_YAML = "invalid yaml format"
85 "The yaml file list is empty.",
87 "Invalid yaml file, error message: <<%s>>.",
91 "The domain definition is missing in the yaml file.",
230 class _UniqueKeySafeLoader(yaml.SafeLoader):
246 table_header = "HiSysEvent yaml file: <<%s>>" % _yaml_file_path
313 print("Failed to parse the yaml file. For details about the error "\
374 _build_warning_info(_INVALID_YAML, ("The yaml file is empty"))
378 ("The content of yaml file is invalid"))
733 yaml_info = yaml.load(yaml_file, Loader=_UniqueKeySafeLoader)
769 parser = argparse.ArgumentParser(description='yaml list')
770 parser.add_argument("--yaml-list", nargs='+', required=True)