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/11/04 17:11:01 UTC

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

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

Beam JIRA Bot updated BEAM-10980:
---------------------------------
    Labels:   (was: stale-assigned)

> 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: P2
>
> 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)