Thriftpy / thriftpy2

Pure python approach of Apache Thrift.
MIT License
572 stars 91 forks source link

Why is __thrift_meta__.consts a list? #97

Closed nhywieza closed 4 years ago

nhywieza commented 4 years ago

How do I get its identity?

IDL const A = 1

Parsed __thrift_meta__.consts = [1]

__thrift_meta__.consts = {"A": 1} Is this reasonable? or add const_names into __thrift_meta__

98