Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-6709

Typehinting depends on typing changes in Python 3.5.3

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      On Python versions < 3.5.3, the Tuple and Union type from typing do not have an `_args` attribute, but a `tuple_params`, and a `union_params` and `union_set_params_` argument respectively.

      The current implementation fails <3.5.3 since it depends on the `_args_` attribute

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                RobbeSneyders Robbe
                Reporter:
                RobbeSneyders Robbe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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 - 1.5h
                  1.5h