[ 
https://issues.apache.org/jira/browse/THRIFT-3511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Beberg updated THRIFT-3511:
--------------------------------
    Component/s:     (was: Python - Compiler)
                 Python - Library

> TBase missing validate(). Errors when py:dynamic used.
> ------------------------------------------------------
>
>                 Key: THRIFT-3511
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3511
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>            Reporter: Adam Beberg
>
> When py:dynamic flag is used to compile structs, they inherit from TBase, 
> which doesn't have the validate() method.
> AttributeError: 'Foo' object has no attribute 'validate'
> The generated thrift_spec is missing the info needed to distinguish between 
> require and optionals (spec[4] has multiple meanings?), and validate isn't 
> being called in read() and write() to protect wire formats.
> Related to THRIFT-1732



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to