from_yaml()

audobject.from_yaml(path_or_stream, *, auto_install=False, override_args=None, **kwargs)[source]

Create object from YAML file.

Parameters
  • path_or_stream (str | IOBase) – file path or stream

  • auto_install (bool) – install missing packages needed to create the object

  • override_args (Optional[dict[str, object]]) – override arguments in the YAML file or default values of hidden arguments

Return type

Object

Returns

object