You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by cc...@apache.org on 2020/02/10 08:07:12 UTC
[beam] 01/01: [BEAM-9277] Fix exception when running in IPython
notebook
This is an automated email from the ASF dual-hosted git repository.
ccy pushed a commit to branch charlesccychen-patch-1
in repository https://gitbox.apache.org/repos/asf/beam.git
commit a4705e07e037fb76f39e02189706f2e85f202033
Author: Charles Chen <ch...@users.noreply.github.com>
AuthorDate: Mon Feb 10 00:06:56 2020 -0800
[BEAM-9277] Fix exception when running in IPython notebook
---
sdks/python/apache_beam/utils/interactive_utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/utils/interactive_utils.py b/sdks/python/apache_beam/utils/interactive_utils.py
index f00c7b1..bef7566 100644
--- a/sdks/python/apache_beam/utils/interactive_utils.py
+++ b/sdks/python/apache_beam/utils/interactive_utils.py
@@ -81,7 +81,7 @@ def alter_label_if_ipython(transform, pvalueish):
_LOGGER.warning(
'Failed to alter the label of a transform with the '
'ipython prompt metadata. Cannot figure out the pipeline '
- 'that the given pvalueish %s belongs to. Thus noop.' % pvalueish)
+ 'that the given pvalueish %s belongs to. Thus noop.' % (pvalueish,))
if (pipeline
# We only alter for transforms to be applied to user-defined pipelines
# at pipeline construction time.