def KeyLEQ(key1, key2):
  if key1 is None or key2 is None:
    return True
  return key1 <= key2
Compare two keys for less-than-or-equal-to.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/bulkloader.py/KeyLEQ