[
https://issues.apache.org/jira/browse/BEAM-10980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266835#comment-17266835
]
Beam JIRA Bot commented on BEAM-10980:
--------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> 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.3.4#803005)