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 (Union[str, IO]) – file path or stream

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

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

Return type

Object

Returns

object