code: def yml_load(stream, container, yml_fnc=yml_fnc, **options):
      
      if options.get("ac_safe", False):
          options = {}  # yaml.safe_load does not process Loader opts.
      elif not options.get("Loader"):
          maybe_container = options.get("ac_dict", False)
          if maybe_container and callable(maybe_container):
              container = maybe_container
  
          options["Loader"] = _customized_loader(container)
  
      ret = yml_fnc("load", stream,
                    **common.filter_from_options("ac_dict", options))
      if ret is None:
          return container()
  
      return ret
docs: An wrapper of yaml.safe_load and yaml.load.
  
      :param stream: a file or file-like object to load YAML content
      :param container: callble to make a container object
  
      :return: Mapping object