You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/10/28 17:11:01 UTC

[jira] [Commented] (BEAM-10980) Pickling Generated NamedTuple instances drops custom members

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

Beam JIRA Bot commented on BEAM-10980:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been labeled "stale-assigned". If you are still working on the issue, please give an update and remove the label. If you are no longer working on the issue, please unassign so someone else may work on it. In 7 days the issue will be automatically unassigned.

> 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
>            Assignee: Brian Hulette
>            Priority: P2
>              Labels: stale-assigned
>
> 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)