thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronny Andersson <>
Subject Re: Thrift file naming convention
Date Thu, 11 Jun 2015 19:05:44 GMT

> I changed a thrift file from a name like computeResourceModel.thrift to compute-resource-model.thrift
and the imports do not work. 

You do not specify which language you are targeting but I am going to guess that it is python.
If that is the case then modules cannot have a hypen ”-” in the name, so in your example is not a valid module name that you can import. If you really need
to do this, I would suggest underscores instead, compute_resource_model

View raw message