[
https://issues.apache.org/jira/browse/BEAM-8335?focusedWorklogId=339109&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-339109
]
ASF GitHub Bot logged work on BEAM-8335:
----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Nov/19 01:13
Start Date: 06/Nov/19 01:13
Worklog Time Spent: 10m
Work Description: robertwb commented on pull request #9954: [BEAM-8335]
Add the PTuple
URL: https://github.com/apache/beam/pull/9954#discussion_r342876169
##########
File path: sdks/python/apache_beam/pvalue.py
##########
@@ -201,6 +201,43 @@ class PDone(PValue):
pass
+class PTuple(object):
+ """An object grouping multiple PCollections.
+
+ This class is useful for returning a named tuple of PCollections from a
+ composite.
+ """
+
+ def __init__(self, pcoll_dict):
+ """Initializes this named tuple with a dictionary of tagged PCollections.
+ """
+ self._pcolls = pcoll_dict
+
+ def __str__(self):
+ return '<%s>' % self._str_internal()
Review comment:
Remove and let it default to `__repr__` (and inline _str_internal).
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 339109)
Time Spent: 18h 40m (was: 18.5h)
> Add streaming support to Interactive Beam
> -----------------------------------------
>
> Key: BEAM-8335
> URL: https://issues.apache.org/jira/browse/BEAM-8335
> Project: Beam
> Issue Type: Improvement
> Components: runner-py-interactive
> Reporter: Sam Rohde
> Assignee: Sam Rohde
> Priority: Major
> Time Spent: 18h 40m
> Remaining Estimate: 0h
>
> This issue tracks the work items to introduce streaming support to the
> Interactive Beam experience. This will allow users to:
> * Write and run a streaming job in IPython
> * Automatically cache records from unbounded sources
> * Add a replay experience that replays all cached records to simulate the
> original pipeline execution
> * Add controls to play/pause/stop/step individual elements from the cached
> records
> * Add ability to inspect/visualize unbounded PCollections
--
This message was sent by Atlassian Jira
(v8.3.4#803005)