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

Custom Coders are ignored sometimes

Details

    • Bug
    • Status: Open
    • P2
    • Resolution: Unresolved
    • 2.37.0
    • None
    • sdk-py-core
    • None
    • Python 3.8.12

    Description

      Custom coders are not used when an object is created inside a function that is passed in. It does work in lambdas, I am very confused.

       

      Here is a gist to reproduce it

      https://gist.github.com/firemuzzy/d3ed68247a2c0841057fca9864d41fe4

       

      I don't think I have completely narrowed it down because having multiple files also seems to change things. Overall I can't reliably get Beam to pick up my custom coders, I am defining something wrong?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mlablablab Michael Charkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: