There was an error while loading. Please reload this page.
We added DummyThrift to support Thrift If you want use thrift, you must start the CHRLINE client with the useThrift parameter
useThrift
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)