lukecwik commented on a change in pull request #12881:
URL: https://github.com/apache/beam/pull/12881#discussion_r498545227



##########
File path: sdks/python/apache_beam/runners/worker/sdk_worker.py
##########
@@ -622,10 +659,12 @@ def process_bundle_progress_metadata_request(self,
                                                request,  # type: 
beam_fn_api_pb2.ProcessBundleProgressMetadataRequest
                                                instruction_id  # type: str
                                               ):
+    # type: (...) -> beam_fn_api_pb2.InstructionResponse
     return beam_fn_api_pb2.InstructionResponse(
         instruction_id=instruction_id,
-        process_bundle_progress=beam_fn_api_pb2.
+        process_bundle_progress_metadata=beam_fn_api_pb2.
         ProcessBundleProgressMetadataResponse(
+            # FIXME: incompatible type "List[MonitoringInfo]"; expected 
"Optional[Mapping[str, Any]]"
             monitoring_info=SHORT_ID_CACHE.getInfos(
                 request.monitoring_info_id)))

Review comment:
       This code is not being used currently and it should be a mapping.
   
   Yes, please update getInfos to return that mapping.
   




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


Reply via email to