This is an automated email from the ASF dual-hosted git repository.

riteshghorse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 51f25427270  [Python] refactor payload creation for display_data 
(#28225)
51f25427270 is described below

commit 51f2542727086796baad656400968f9fceed6902
Author: Ritesh Ghorse <riteshgho...@gmail.com>
AuthorDate: Wed Aug 30 18:00:42 2023 -0400

     [Python] refactor payload creation for display_data (#28225)
---
 sdks/python/apache_beam/transforms/display.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/transforms/display.py 
b/sdks/python/apache_beam/transforms/display.py
index a8f60a894d6..b52a8fd5b6d 100644
--- a/sdks/python/apache_beam/transforms/display.py
+++ b/sdks/python/apache_beam/transforms/display.py
@@ -184,7 +184,7 @@ class DisplayData(object):
         dd_protos.append(
             beam_runner_api_pb2.DisplayData(
                 urn=common_urns.StandardDisplayData.DisplayData.LABELLED.urn,
-                payload=create_payload(dd).SerializeToString()))
+                payload=dd_proto.SerializeToString()))
     return dd_protos
 
   @classmethod

Reply via email to