validate_annotation_spec
Validate the annotations.yaml files in the instrumentation directory.
validate_spec(spec_file)
¶
Validate all '.annotations.yaml' files at path and return all invalid items.
Throws yaml.YAMLError
Source code in lineapy/utils/validate_annotation_spec.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|