Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9
-
None
Description
The Python Thrift generator does not include imports for all the exception types it uses, namely, "TApplicationException".
To reproduce:
Create two Thrift services (A and B) and start them.
Using the Python client for B, connect to A and call one of the methods from the service.
Expected result:
thrift.Thrift.TApplicationException: Invalid method name: 'someMethod'
Actual Result:
NameError: global name 'TApplicationException' is not defined