Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
When we have a struct such as
struct structA {
1: required string from,
2: required string to,
}
The python code generated has errors since from is a keyword in Python. Therefore we need to add from as a reserved keyword.
Pull request: https://github.com/apache/thrift/pull/579
Attachments
Issue Links
- is related to
-
THRIFT-4496 Dealing with language keywords in Thrift (e.g. service method names)
- Closed