@staticmethod
    def serialize(uuid, protocol_version):
        try:
            return uuid.bytes
        except __HOLE__:
            raise TypeError("Got a non-UUID object for a UUID value")
dataset/ETHPy150Open datastax/python-driver/cassandra/cqltypes.py/UUIDType.serialize