def METHOD_NAME(self, resp):
    # replace cassandra types
    data = []
    for row in resp:
        row2 = {}
        for k, v in row._asdict().items():
            if isinstance(v, Date):
                v = v.date()
            row2[k] = v
        data.append(row2)
    return data