@staticmethod
    def serialize(val, protocol_version):
        try:
            nano = val.nanosecond_time
        except __HOLE__:
            nano = util.Time(val).nanosecond_time
        return int64_pack(nano)
dataset/ETHPy150Open datastax/python-driver/cassandra/cqltypes.py/TimeType.serialize