HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.13, which is no longer officially supported. Click here for the latest version, 2.18!

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