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

runtime_type_check issues

Details

    Description

      There are two issues related to runtime_type_check, both of them could be reproduced by TypeHintsTest.test_deterministic_key test.

      1. runtime_type_check fails with user defined custom class types. because the type given to the type hint and the type that was created during deserialization are not identical.

      Repro: Enable runtime_type_check

      2. Using repl mode triggers runtime_type_check, even though the default is false.

      Repro: change to lines = ['banana,fruit,3', 'kiwi,fruit,2', 'kiwi,fruit,2', 'zucchini,veg,3'] and use repl mode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            altay Ahmet Altay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: