You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Valentyn Tymofieiev (Jira)" <ji...@apache.org> on 2022/05/23 09:46:00 UTC
[jira] [Commented] (BEAM-14397) Support type hinting generics in Apache Beam type inference
[ 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)