def allocate_ids(model, size, **kwargs):
 return allocate_ids_async(model, size, **kwargs).get_result()

def allocate_ids ( model , size , ** kwargs ) : return allocate_ids_async ( model , size , ** kwargs ) . get_result ( )
allocates a range of ids of size for the model_key defined by model .