code: def _arg_kw(args, names, ignore):
      kw_in = args.as_kw()
      kw = {name: kw_in[name] for name in names}
      for name in names:
          del kw_in[name]
      for name in ignore:
          try:
              del kw_in[name]
          except KeyError:
              pass
      assert not kw_in, kw_in
      return kw
  
imports: import os
  import typing
  from guild import cli
  from guild import remote
  from .None import remote_support
label_desc: Use image node_id 7 for calling a global function with example usage: _arg_kw(args, names, ignore) and returns: kw