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

Include `-> None` on Pipeline and PipelineOptions `__init__` methods for pytype compatibility

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.19.0
    • sdk-py-core
    • None

    Description

      mypy made a decision to allow init methods to omit -> None return type annotations, but pytype has no such feature. I think we should include -> None annotations for pytype compatibility.

      cc: chadrik

      Attachments

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              bhulette Brian Hulette
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m