code: def load_warning(method):
      if _warnings_enabled["YAMLLoadWarning"] is False:
          return
  
      import warnings
  
      message = (
          "calling yaml.%s() without Loader=... is deprecated, as the "
          "default Loader is unsafe. Please read "
          "https://msg.pyyaml.org/load for full details."
      ) % method
  
      warnings.warn(message, YAMLLoadWarning, stacklevel=3)
  
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 2 for calling a global function with example usage: load_warning(method) without return types