You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 18:10:46 UTC
[GitHub] [beam] damccorm opened a new issue, #20554: Pickling Generated NamedTuple instances drops custom members
damccorm opened a new issue, #20554:
URL: https://github.com/apache/beam/issues/20554
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)
Imported from Jira [BEAM-10980](https://issues.apache.org/jira/browse/BEAM-10980). Original Jira may contain additional context.
Reported by: bhulette.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org