[ 
https://issues.apache.org/jira/browse/BEAM-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548944#comment-17548944
 ] 

Danny McCormick commented on BEAM-10980:
----------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/20554

> Pickling Generated NamedTuple instances drops custom members
> ------------------------------------------------------------
>
>                 Key: BEAM-10980
>                 URL: https://issues.apache.org/jira/browse/BEAM-10980
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Priority: P3
>
> We assign a custom {{__reduce__}} method and a {{_beam_schema_id}} member to 
> generated NamedTuple instances, but these methods are dropped when the 
> constructor is pickled and unpickled (as might happen when used in a closure 
> with beam.Map or beam.FlatMap)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to