thriftpy
thriftpy copied to clipboard
Thriftpy has been deprecated, please migrate to https://github.com/Thriftpy/thriftpy2
Thrift includes support for circular dependencies - although the python thrift generation doesn't yet support this feature. When trying to load thrift files with cyclic dependencies, the parser bombs out...
https://github.com/eleme/thriftpy/blob/c49a3adf2c52948b5c1a01c3109c9676763095f0/thriftpy/parser/parser.py#L547 hi, I am using the thriftpy in our project, our environment is Windows, and when i use thriftpy.load(path, ....) function. the question is if use relative path as the...
Hello, The "close" method of the TSimpleServer/TThreadedServer classes cannot close the server because the thread who called "serve()" is blocked at "client = self.trans.accept()". The only way I found to...
i am trying to find a thrift lib that can support udp transport ? can this lib support ?
Using urlparse to get the path's schema ,but on windows ,it doesn't work well. When loads file using absolute path , it would raise > raise ThriftParserError('ThriftPy does not support...
When parsing the thrift code for HIVE ( https://raw.githubusercontent.com/apache/hive/master/service-rpc/if/TCLIService.thrift ) the following error is thrown: ThriftParserError: No type found: 'TProgressUpdateResp', at line 1071 The Type "struct TProgressUpdateResp" is defined several...
I set a client to `threading.Local()` variable, I dont know whether it is related to the problem e.g. `thread.Lcoal().client = make_client()` and use the timeout_decorator, not use_signals Here is the...
I find #246 this issue so I wrote an asyncio support for thriftpy, and it can pass all the original test cases. Now you can use thriftpy like this: ```python...
I believe this improves [1] which addresses a bytes/str inconsistency issue reported some time ago[2]. The goal of this patch is to have an option to always deseriaize binary fields...
Looks like if you have a bool in your struct and you're writing using Compact format, it's very likely the resulting message will be corrupt. See attached testcase. This occurs...