Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14088

Add ability to type PTransforms with input and output by making it a generic

Details

    • Wish
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-core

    Description

      beam.PTransform should be a generic type to enable us to type it with input and output. For example:

      MyTransform(beam.PTransform[PCollection[str], PCollection[bool]]) 

      Attachments

        Activity

          People

            Unassigned Unassigned
            yeandy Andy Ye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: