This is an automated email from the ASF dual-hosted git repository.
altay 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 c1aec62 [BEAM-7876] create_svg from graphviz returns bytes and need
to be converted to string in order for the interactive runner to work on Python3
new fa45914 Merge pull request #9220 from davidyan74/BEAM-7876
c1aec62 is described below
commit c1aec62e7ba626317e3b96dea41a46b575c3f260
Author: David Yan <[email protected]>
AuthorDate: Thu Aug 1 12:51:25 2019 -0700
[BEAM-7876] create_svg from graphviz returns bytes and need to be converted
to string in order for the interactive runner to work on Python3
---
.../apache_beam/runners/interactive/display/pipeline_graph_renderer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph_renderer.py
b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph_renderer.py
index a216d19..2df5c61 100644
---
a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph_renderer.py
+++
b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph_renderer.py
@@ -94,7 +94,7 @@ class PydotRenderer(PipelineGraphRenderer):
return 'graph'
def render_pipeline_graph(self, pipeline_graph):
- return pipeline_graph._get_graph().create_svg() # pylint:
disable=protected-access
+ return pipeline_graph._get_graph().create_svg().decode("utf-8") # pylint:
disable=protected-access
def get_renderer(option=None):