Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Breaking Changes

YinMo edited this page May 26, 2022 · 5 revisions

v2.0.0

We added DummyThrift to support Thrift
If you want use thrift, you must start the CHRLINE client with the useThrift parameter

cl = CHRLINE(..., useThrift=True)

This will make the API return an Object instead of a Dict
So you have to change the code to suit it!

opType = op[3]  # useThrift=False

opType = op.type  # useThrift=True

new version with or without use Thrift both can get data

opType = cl.checkAndGetValue(op, 'type', 3)
Clone this wiki locally