tvalentyn commented on issue #31587:
URL: https://github.com/apache/beam/issues/31587#issuecomment-2166183635

   Eventually, we plan to swtich to cloudpickle pickler, which doesn't require 
saving the main session.
   
   Structuring a pipeline as a package is the best way to avoid having to pass 
`--save_main_session` and can also help provide better structure for complex 
pipelines. A few examples:
   
   
https://beam.apache.org/documentation/sdks/python-pipeline-dependencies/#multiple-file-dependencies
   
https://github.com/GoogleCloudPlatform/python-docs-samples/blob/main/dataflow/flex-templates/pipeline_with_dependencies/main.py
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to