James Haggerty created THRIFT-2060: -------------------------------------- Summary: Copy some annotations to generated Python Key: THRIFT-2060 URL: https://issues.apache.org/jira/browse/THRIFT-2060 Project: Thrift Issue Type: Improvement Components: Python - Compiler Reporter: James Haggerty Priority: Minor
I noticed today that thrift has annotations (for all fields), but at the moment these are exclusively used to inform the compiler (about things like final). It would be very useful to pass these annotations on to the generated code. In our use case, we'd like to annotate functions/structs with access control information. Attached patch does this for Python with a new option (annotations). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira