original_docstring: 
          Creates a FeatureContainer from a YAML file.
          
docstring: Creates a FeatureContainer from a YAML file.
docstring_tokens: Creates a FeatureContainer from a YAML file .
code: def from_yaml(cls, path: Union[str, Path], debug: bool = False) -> FeatureContainer:
          """
          Creates a FeatureContainer from a YAML file.
          """
          with open(path, "r") as f:
              dct = yaml.YAML(typ="unsafe", pure=True).load(f)
              if dct is None:
                  raise MalformedYamlFileException(f"Malformed YAML file: {path}")
              return cls([Feature.from_dict(f) for f in dct["features"]], dct["version"], debug)
code_tokens: def from_yaml ( cls , path : Union [ str , Path ] , debug : bool = False ) -> FeatureContainer : with open ( path , "r" ) as f : dct = yaml . YAML ( typ = "unsafe" , pure = True ) . load ( f ) if dct is None : raise MalformedYamlFileException ( f"Malformed YAML file: {path}" ) return cls ( [ Feature . from_dict ( f ) for f in dct [ "features" ] ] , dct [ "version" ] , debug )
short_docstring: Creates a FeatureContainer from a YAML file.
short_docstring_tokens: Creates a FeatureContainer from a YAML file .
comment: """
          Creates a FeatureContainer from a YAML file.
          """