[
https://issues.apache.org/jira/browse/BEAM-8538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17121829#comment-17121829
]
Kenneth Knowles commented on BEAM-8538:
---------------------------------------
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.
> Python typehints: support namedtuples
> -------------------------------------
>
> Key: BEAM-8538
> URL: https://issues.apache.org/jira/browse/BEAM-8538
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Udi Meiri
> Assignee: Udi Meiri
> Priority: P2
> Labels: stale-assigned
>
> 2 bugs:
> 1. convert_to_beam_type passes typing.NamedTuple as-is. The code that's
> supposed to convert it to Any is broken (and the test is buggy too).
> Fix:
> https://github.com/apache/beam/pull/9754/files#diff-9b2eac354738047adddd44814d4b429cR247
> 2. Possible bug: collections.NamedTuple instances should also be converted to
> Any, or Tuple[Any, Any, ..], if other static types checker do this as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)