robertwb commented on a change in pull request #11005: [BEAM-8335] Modify the 
StreamingCache to subclass the CacheManager 
URL: https://github.com/apache/beam/pull/11005#discussion_r387270211
 
 

 ##########
 File path: sdks/python/apache_beam/runners/direct/transform_evaluator.py
 ##########
 @@ -212,6 +218,19 @@ class _TestStreamRootBundleProvider(RootBundleProvider):
   """
   def get_root_bundles(self):
     test_stream = self._applied_ptransform.transform
+    if self._evaluation_context._test_stream_event_stub:
+      stub = self._evaluation_context._test_stream_event_stub
+
+      if list(test_stream.output_tags) == [None]:
+        event_request = beam_runner_api_pb2.EventsRequest()
+      else:
+        event_request = beam_runner_api_pb2.EventsRequest(
+            keys=list(test_stream.output_tags))
 
 Review comment:
   Why does the set of keys even need to be sent here? 

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


With regards,
Apache Git Services

Reply via email to