def GetArgument(kwargs, name, die_fn):
  if name in kwargs:
    return kwargs[name]
  else:
    print >> sys.stderr, '%s argument required' % name
    die_fn()
Get the value of the key name in kwargs, or die with die_fn.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/GetArgument