apache-thrift¶
Apache Thrift IDL compiler (https://thrift.apache.org/).
Backend: pants.backend.codegen.thrift.apache.python
Config section: [apache-thrift]
Basic options¶
expected_version¶
--apache-thrift-expected-version=<str>
PANTS_APACHE_THRIFT_EXPECTED_VERSION
default: 0.15
The major/minor version of Apache Thrift that you are using, such as 0.15.
Pants will only use Thrift binaries from --thrift-search-paths that have the expected version, and it will error if none are found.
Do not include the patch version.
thrift_search_paths¶
--apache-thrift-thrift-search-paths="['<str>', '<str>', ...]"
PANTS_APACHE_THRIFT_THRIFT_SEARCH_PATHS
default:
A list of paths to search for Thrift.
Specify absolute paths to directories with the thrift binary, e.g. /usr/bin. Earlier entries will be searched first.
The special string "<PATH>" will expand to the contents of the PATH env var.
Can be overridden by field apache_thrift_thrift_search_paths on local_environment, docker_environment, or remote_environment targets.
Advanced options¶
None
Deprecated options¶
None