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


General Thrift IDL settings (https://thrift.apache.org/).

Backend: <span style="color: purple"><code>pants.backend.codegen.thrift.apache.python</code></span> Config section: <span style="color: purple"><code>[thrift]</code></span>

## Basic options

<div style="color: purple">

### `dependency_inference`

<code>--[no-]thrift-dependency-inference</code><br> <code>PANTS_THRIFT_DEPENDENCY_INFERENCE</code><br>

</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>True</code></span>

<br>

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

</div> <br>

## Advanced options

<div style="color: purple">

### `tailor`

<code>--[no-]thrift-tailor</code><br> <code>PANTS_THRIFT_TAILOR</code><br>

</div> <div style="padding-left: 2em;"> <span style="color: green">default: <code>True</code></span>

<br>

If true, add `thrift_sources` targets with the `tailor` goal.

</div> <br>

## Deprecated options

None