You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Andy Ye (Jira)" <ji...@apache.org> on 2022/03/10 22:09:00 UTC
[jira] [Updated] (BEAM-14088) Add ability to type PTransforms with input and output by making it a generic
[ https://issues.apache.org/jira/browse/BEAM-14088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Ye updated BEAM-14088:
---------------------------
Description:
beam.PTransform should be a generic type to enable us to type it with input and output. For example:
{code:java}
MyTransform(beam.PTransform[PCollection[str], PCollection[bool]]) {code}
was:
beam.PTransform should be a generic type. For example:
{code:java}
MyTransform(beam.PTransform[PCollection[str], PCollection[bool]]) {code}
> Add ability to type PTransforms with input and output by making it a generic
> ----------------------------------------------------------------------------
>
> Key: BEAM-14088
> URL: https://issues.apache.org/jira/browse/BEAM-14088
> Project: Beam
> Issue Type: Wish
> Components: sdk-py-core
> Reporter: Andy Ye
> Priority: P3
> Labels: types
>
> beam.PTransform should be a generic type to enable us to type it with input and output. For example:
> {code:java}
> MyTransform(beam.PTransform[PCollection[str], PCollection[bool]]) {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)