def identity(requestContext, name, step=60):
    start = int(epoch(requestContext["startTime"]))
    end = int(epoch(requestContext["endTime"]))
    values = range(start, end, step)
    series = TimeSeries(name, start, end, step, values)
    series.pathExpression = 'identity("%s")' % name

    return [series]
Identity function:
dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/identity