damccorm commented on issue #29440: URL: https://github.com/apache/beam/issues/29440#issuecomment-1819794007
Yeah, +1 to what @liferoad said. In general, the `with ...` syntax is used when you have some cleanup that you want to do at the end of execution, which implies that everything has completed in the `with` block. `p = beam.Pipeline()` and `p.run()` is the right way to do this. I'm going to close here, feel free to comment or reopen if you have further questions -- 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]
