Skip to main content
Version: 2.11 (deprecated)

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
pants.toml
[thrift]
dependency_inference = <bool>
default: True

Infer Thrift dependencies on other Thrift files by analyzing import statements.

Advanced options

None

Deprecated options

None

None