Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
given thrift idl
struct A { 1: B b, } struct B { 1: i32 b, }
generated ttypes.py
20 class A: 21 """ 22 Attributes: 23 - b 24 """ 25 26 thrift_spec = ( 27 None, # 0 28 (1, TType.STRUCT, 'b', (B, B.thrift_spec), None, ), # 1 29 ) 30
import A will cause error since it referenced B, which has not be defined.
Attachments
Issue Links
- is related to
-
AIRAVATA-2246 Python 3 compatibility in Python thrift stubs
- Resolved
- links to