def IndexDefinitionsToKeys(indexes):
  keyset = set()
  if indexes is not None:
    if indexes.indexes:
      for index in indexes.indexes:
        keyset.add(IndexToKey(index))
  return keyset
Convert IndexDefinitions to set of keys.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/datastore/datastore_index.py/IndexDefinitionsToKeys