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/02/09 02:18:22 UTC
[GitHub] [beam] TheNeuralBit commented on a change in pull request #16788: BEAM-13860: Make `DoFn.infer_output_type` return element type
TheNeuralBit commented on a change in pull request #16788:
URL: https://github.com/apache/beam/pull/16788#discussion_r802215052
##########
File path: sdks/python/apache_beam/dataframe/schemas.py
##########
@@ -275,7 +275,7 @@ def _unbatch_transform(proxy, include_indexes):
return beam.ParDo(
_UnbatchWithIndex(ctor) if include_indexes else _UnbatchNoIndex(ctor)
- ).with_output_types(ctor)
Review comment:
Note this is a workaround I had added, because the override for `infer_output_type` did not work (this typehint is verified in schemas_test.py).
--
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