You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/22 20:44:10 UTC

[GitHub] [beam] tvalentyn commented on pull request #22198: Update element_type inference (default_type_hints) for batched DoFns with yields_batches/yields_elements

tvalentyn commented on PR #22198:
URL: https://github.com/apache/beam/pull/22198#issuecomment-1192921702

   I checked that `get_type_hints(object).with_defaults(beam.typehints.decorators.IOTypeHints.empty().strip_iterable())` is the same as `get_type_hints(object).with_defaults(None)`. Looks like this doesn't change evaluation for non-batching DoFn's, so shouldn't be a breaking change. But you can also try to import and run TGP if you think this needs more coverage.
   


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