def AllocateIds(model_key, size=None, **kwargs):
 return AllocateIdsAsync(model_key, size, **kwargs).get_result()

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 .