def AllocateIds(model_key, size=None, **kwargs):
  return AllocateIdsAsync(model_key, size, **kwargs).get_result()
Allocates a range of IDs of size or with max for the given key.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/datastore.py/AllocateIds