@classmethod
    def to_binary(cls, val, protocol_version):
        return b'' if val is None else cls.serialize(val, protocol_version)
Return a Route object for route `rt` using API instance `api`.
dataset/ETHPy150Open datastax/python-driver/cassandra/cqltypes.py/_CassandraType.to_binary--crossover with--dataset/ETHPy150Open nhfruchter/pgh-bustime/pghbustime/datatypes.py/Route.get