liferoad commented on code in PR #25743: URL: https://github.com/apache/beam/pull/25743#discussion_r1132912439
########## CHANGES.md: ########## @@ -68,6 +68,7 @@ ## Breaking Changes +* Python SDK now does not allow mixing the yield and return statements in `DoFn.process()` ([#22969](https://github.com/apache/beam/issues/22969)). `yield` is recommended for emitting elements and `yield from` for iterators. Review Comment: I added this to the warning message. The current doc indeed has this information here: https://beam.apache.org/documentation/programming-guide/#pardo -- 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]
