udim commented on a change in pull request #11038:
URL: https://github.com/apache/beam/pull/11038#discussion_r424719056
##########
File path: sdks/python/apache_beam/io/iobase.py
##########
@@ -95,8 +115,11 @@
#
# Type for start and stop positions are specific to the bounded source and must
# be consistent throughout.
-SourceBundle = namedtuple(
- 'SourceBundle', 'weight source start_position stop_position')
+SourceBundle = NamedTuple(
+ 'SourceBundle',
+ [('weight', Optional[float]), ('source', 'BoundedSource'),
Review comment:
Yeah, you're right
----------------------------------------------------------------
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]