Option

Description

package_prefix='top.package.' Package prefix for generated files.
slots Generate code using slots for instance members.
tornado Generate code for use with the Tornado async web-framework-generated code (https://github.com/tornadoweb/tornado). Basically no effect for Python 3.
twisted Generate Twisted-friendly RPC services.
Rb
namespaced Generate files in idiomatic namespaced directories.
rubygems Add a “require ‘rubygems’” line to the top of each generated file.
Swift
async_clients Generate clients that invoke asynchronously via block syntax.
debug_descriptions Allow use of debugDescription so the app can add description via a category/extension.
log_unexpected Log every time an unexpected ...

Get Programmer’s Guide to Apache Thrift now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.