You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "liferoad (via GitHub)" <gi...@apache.org> on 2023/08/18 12:24:50 UTC

[GitHub] [beam] liferoad opened a new issue, #28061: [Feature Request]: Issue the warning messages when the `process` method in `DoFn` does not return anything

liferoad opened a new issue, #28061:
URL: https://github.com/apache/beam/issues/28061

   ### What would you like to happen?
   
   When creating a `DoFn`, if the `process` method returns None, we can issue a warning, such as `no iterator is returned by the process method in DoFn`. This could help users debug whether returning None is expected. Possible code changes could be in `_check_fn_use_yield_and_return` from https://github.com/apache/beam/blob/master/sdks/python/apache_beam/transforms/core.py.
   
   ### Issue Priority
   
   Priority: 3 (nice-to-have improvement)
   
   ### Issue Components
   
   - [X] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] timgrein commented on issue #28061: [Feature Request]: Issue the warning messages when the `process` method in `DoFn` does not return anything

Posted by "timgrein (via GitHub)" <gi...@apache.org>.
timgrein commented on issue #28061:
URL: https://github.com/apache/beam/issues/28061#issuecomment-1693125382

   .take-issue


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org