@classmethod
    def from_binary(cls, byts, protocol_version):
        if byts is None:
            return None
        elif len(byts) == 0 and not cls.empty_binary_ok:
            return EMPTY if cls.support_empty_values else None
        return cls.deserialize(byts, protocol_version)
Deserialize a bytestring into a value. See the deserialize() method
dataset/ETHPy150Open datastax/python-driver/cassandra/cqltypes.py/_CassandraType.from_binary