thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Lemos <ale...@plux.info>
Subject NameError: name 'PropertyTree' is not defined
Date Tue, 12 Dec 2017 11:30:14 GMT
Hi,


I am getting the following error while trying to import the generated .py
files into my project:

  File "gen-py/CommonTypes/ttypes.py", line 438, in <module>
    class PropertyTree(object):
  File "gen-py/CommonTypes/ttypes.py", line 454, in PropertyTree
    (4, TType.LIST, 'children', (TType.STRUCT, (PropertyTree,
PropertyTree.thrift_spec), False), None, ),  # 4
NameError: name 'PropertyTree' is not defined



How can I make a clean fix (e.g. without changing the generated file)?


Thank you,

André Lemos

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message