code: def dump_yaml(data, stream, default_flow_style=None, width=None):
      dumper = MyDumper(
          stream,
          default_flow_style=default_flow_style,
          indent=2,
          default_style=None,
          width=width,
      )
      dumper.open()
      dumper.represent(data)
      dumper.close()
  
imports: from __future__ import print_function
  from collections import OrderedDict
  from os.path import abspath, join, dirname, exists
  from utils.common import check_update
  from utils.type_conv import type_from_proto
  import time
  import yaml
label_desc: Use image node_id 10 for calling a global function with example usage: dump_yaml(data, stream, default_flow_style, width) without return types