def delete(self, name):
    keys = self._client.keys('%s%s:*'%(self._prefix,name))

    pipe = self._client.pipeline(transaction=False)
    for key in keys:
      pipe.delete( key )
    pipe.execute()

    # Could be not technically the exact number of keys deleted, but is a close
    # enough approximation
    return len(keys)
Delete all the data in a named timeseries.
dataset/ETHPy150Open agoragames/kairos/kairos/redis_backend.py/RedisBackend.delete