code: def _load_flags(src):
      ext = _flags_src_ext(src)
      if ext in (".yaml", ".yml"):
          return _load_flags_yaml(src)
      if ext in (".json",):
          return _load_flags_json(src)
      if ext in (".ini", ".cfg"):
          return _load_flags_cfg(src)
      raise _ConfigNotSupported(src)
  
imports: import logging
  import os
  from guild import guildfile
  from guild import op_util
  from guild import plugin
  from guild import util
  from .None import flags_import_util
label_desc: Use image node_id 4 for calling a global function with example usage: _load_flags(src) and returns: _load_flags_yaml, _load_flags_json, _load_flags_cfg