[ https://issues.apache.org/jira/browse/THRIFT-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Haggerty updated THRIFT-2060: ----------------------------------- Attachment: thrift-001-python-annotations.patch > 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 > Attachments: thrift-001-python-annotations.patch > > > 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