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

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

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.22.0
    • Component/s: sdk-py-core
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: