code: def safe_dump_all(documents, stream=None, **kwds):
      """
      Serialize a sequence of Python objects into a YAML stream.
      Produce only basic YAML tags.
      If stream is None, return the produced string instead.
      """
      return dump_all(documents, stream, Dumper=SafeDumper, **kwds)
  
imports: from .error import *
  from .tokens import *
  from .events import *
  from .nodes import *
  from .loader import *
  from .dumper import *
  import io
label_desc: Use image node_id 20 for calling a global function with example usage: safe_dump_all(documents, stream) and returns: dump_all