Options specific to generating Python from Thrift using Apache Thrift
Code generation options specific to the Python code generator to pass to the Apache
thift binary via the
-gen py argument. See
thrift -help for supported values.
If True, will add a dependency on a
python_requirement target exposing the
thrift module (usually from the
[python].enable_resolves is set, Pants will only infer dependencies on
python_requirement targets that use the same resolve as the particular
thrift_source target uses, which is set via its
Unless this option is disabled, Pants will error if no relevant target is found or more than one is found which causes ambiguity.
Updated about 1 month ago