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

Refactor comment-based type hints for pytype

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Duplicate
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      Pytype is a static type checker used by some customers to verify Beam pipelines.

      It doesn't support a certain style of comment-based type hints (see https://github.com/google/pytype/issues/480).

      The request is to change these type hints to an alternative style that Pytype understands.

      It is expected that comment-based type hints will go away once Py2 support is dropped in Beam.

      chadrik

      Attachments

        Activity

          People

            udim Udi Meiri
            udim Udi Meiri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: