chadrik commented on a change in pull request #12881:
URL: https://github.com/apache/beam/pull/12881#discussion_r491593456
##########
File path: sdks/python/apache_beam/runners/worker/bundle_processor.py
##########
@@ -1344,7 +1356,8 @@ def create_deprecated_read(
consumers # type: Dict[str, List[operations.Operation]]
):
# type: (...) -> operations.ReadOperation
- source = iobase.SourceBase.from_runner_api(parameter.source, factory.context)
+ source = iobase.BoundedSource.from_runner_api(
Review comment:
This shouldn't change the behavior of the code, it merely indicates to
the type system that we expect `BoundedSource`, since `SourceBase` is not
sufficient here (we need `default_output_coder()`)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]