def ttl(self, ttl):
        clone = copy.deepcopy(self)
        clone._ttl = ttl
        return clone
Sets the ttl (in seconds) for modified data.
dataset/ETHPy150Open datastax/python-driver/cassandra/cqlengine/query.py/ModelQuerySet.ttl