def consolidateBy(requestContext, seriesList, consolidationFunc):
    for series in seriesList:
        # datalib will throw an exception, so it's not necessary to validate
        # here
        series.consolidationFunc = consolidationFunc
        series.name = 'consolidateBy(%s,"%s")' % (series.name,
                                                  series.consolidationFunc)
        series.pathExpression = series.name
    return seriesList
If L{Request} is created with a C{bodyProducer} with a known length and
dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/consolidateBy--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_newclient.py/RequestTests.test_sendRequestBodyWithTooManyBytes