You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
By far the most common Dataflow bug we are seeing on staged-recipes is the serialization issue where module-level names are not available within function scopes. A few examples from the last 24 hrs:
Maybe we need a custom linter to flag this before we /run the tests?
Even better would be to fix it, if possible. I believe the Beam option save_main_session (which we use) is supposed to address this, but it doesn't appear to work, and some knowledgable folks at the Beam Summit I attended in Austin last July told me this was always a "hacky workaround". If I remember correctly, I was told using a setup.py as described in the Beam docs here might possibly resolve this. I'll do an experiment to see if that's the case.
The text was updated successfully, but these errors were encountered:
cisaacstern
changed the title
Linter variable scoping serialization issue? (Or just fix it?)
Lint for variable scoping serialization issue? (Or just fix it?)
Dec 16, 2022
By far the most common Dataflow bug we are seeing on
staged-recipes
is the serialization issue where module-level names are not available within function scopes. A few examples from the last 24 hrs:Maybe we need a custom linter to flag this before we
/run
the tests?Even better would be to fix it, if possible. I believe the Beam option
save_main_session
(which we use) is supposed to address this, but it doesn't appear to work, and some knowledgable folks at the Beam Summit I attended in Austin last July told me this was always a "hacky workaround". If I remember correctly, I was told using asetup.py
as described in the Beam docs here might possibly resolve this. I'll do an experiment to see if that's the case.The text was updated successfully, but these errors were encountered: