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

Detect and use PEP-3107 style type annotations for type hints.

Details

    • New Feature
    • Status: Resolved
    • P2
    • Resolution: Duplicate
    • None
    • 2.22.0
    • sdk-py-core

    Description

      This would allow python functions and DoFn process methods to be annotated in the standard way as per PEP-484 for construction time type checking. Eventually this could be theĀ preferred method for typing pipelines (though the typehints decorators may still be needed for composite transform hinting).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              robertwb Robert Bradshaw
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: