thrift¶
General Thrift IDL settings (https://thrift.apache.org/).
Backend: pants.backend.codegen.thrift.apache.python
Config section: [thrift]
Basic options¶
dependency_inference
¶
--[no-]thrift-dependency-inference
PANTS_THRIFT_DEPENDENCY_INFERENCE
default: True
Infer Thrift dependencies on other Thrift files by analyzing import statements.
Advanced options¶
tailor
¶
--[no-]thrift-tailor
PANTS_THRIFT_TAILOR
default: True
If true, add thrift_sources
targets with the tailor
goal.
Deprecated options¶
None