diff options
Diffstat (limited to 'module/lib/thrift/Thrift.py')
-rw-r--r-- | module/lib/thrift/Thrift.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/module/lib/thrift/Thrift.py b/module/lib/thrift/Thrift.py index 91728a776..a96351276 100644 --- a/module/lib/thrift/Thrift.py +++ b/module/lib/thrift/Thrift.py @@ -38,6 +38,25 @@ class TType: UTF8 = 16 UTF16 = 17 + _VALUES_TO_NAMES = ( 'STOP', + 'VOID', + 'BOOL', + 'BYTE', + 'DOUBLE', + None, + 'I16', + None, + 'I32', + None, + 'I64', + 'STRING', + 'STRUCT', + 'MAP', + 'SET', + 'LIST', + 'UTF8', + 'UTF16' ) + class TMessageType: CALL = 1 REPLY = 2 |