derekocallaghan commented on issue #21615:
URL: https://github.com/apache/beam/issues/21615#issuecomment-1290436909

   I've added a local workaround which sets the specified `pickle_library` for 
`save_main_session` (in this case, `cloudpickle`), where I've modified 
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/pipeline.py#L570
 as follows:
   
   ```python
   try:
     pickle_library = self._options.view_as(SetupOptions).pickle_library
     if pickle_library:
       pickler.set_library(pickle_library)
     pickler.dump_session(os.path.join(tmpdir, 'main_session.pickle'))
   ```


-- 
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