code: def _write_yaml_file(d, path, **kwargs):
      s = yaml.dump(d, **kwargs)
      etau.write_file(s, path)
  
imports: import logging
  import os
  import warnings
  import yaml
  import eta.core.utils
  import fiftyone.core.labels
  import fiftyone.core.storage
  import fiftyone.utils.data
label_desc: Use image node_id 10 for calling a global function with example usage: _write_yaml_file(d, path) without return types