[
https://issues.apache.org/jira/browse/BEAM-14397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540860#comment-17540860
]
Valentyn Tymofieiev commented on BEAM-14397:
--------------------------------------------
Also: if Iterator is imported from collections.abc instead of typing (to
annotate process() of DoFn classes), then Beam does not consider it to be
iterable.
> Support type hinting generics in Apache Beam type inference
> ------------------------------------------------------------
>
> Key: BEAM-14397
> URL: https://issues.apache.org/jira/browse/BEAM-14397
> Project: Beam
> Issue Type: New Feature
> Components: sdk-py-core
> Reporter: Valentyn Tymofieiev
> Priority: P2
> Labels: types
>
> See: [https://peps.python.org/pep-0585/] that introduces this construct.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)