def hash(self, value):
        if isinstance(value, tuple):
            value = tuple(to_bytestring(v) for v in value)
        return hashlib.md5(six.b(':').join(value)).hexdigest()
Generate a hash of the given tuple.
dataset/ETHPy150Open codeinthehole/django-cacheback/cacheback/base.py/Job.hash