def AllocateIds(model_key, size=None, **kwargs):
  return AllocateIdsAsync(model_key, size, **kwargs).get_result()
See PEP 302.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/datastore.py/AllocateIds--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver_import_hook.py/HardenedModulesHook.find_module