Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#123) Fixed beam not being able to access global namespace + minor related bug. #124

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

pbattaglia
Copy link
Collaborator

The beam pipeline wasn't able to see the global namespace, despite that save_main_session=True was passed to the pipeline options. I'm not sure why save_main_session wasn't having its intended effect, but I worked around it by importing the global symbols that the pipeline wasn't able to see.

I also noticed that the save_main_session argument to run() wasn't actually doing anything, and that argument to the pipeline was always set to True, so I fixed that.

Also fixed related bug where save_main_session arg for run() wasn't doing anything.
Copy link
Collaborator

@alxmrs alxmrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants