class_docstr: Yaml file class
class_docstr_tok: ["Yaml","file","class"]
code: def __init__(self, path):
      self._path = path
      with open(path) as yaml_file:
          self.data = yaml.safe_load(yaml_file)
      self.validate()
  
imports: import os
  import yaml
  import re
  import doc_gen_snipets
label_desc: Use image node_id 1 to create a new YamlFile object  with example: obj = YamlFile(path)