From a1691af0dc41a9488dc78b98302d155f0ed73d54 Mon Sep 17 00:00:00 2001 From: Sam Rohde Date: Mon, 23 Mar 2020 10:20:14 -0700 Subject: [PATCH] Fix the rendering as the '|' is incorrectly interpreted in some contexts Change-Id: Ibddaec7b368d075a6c64cde45ca37b60c4b1ec8c --- .../apache_beam/runners/interactive/pipeline_instrument.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/python/apache_beam/runners/interactive/pipeline_instrument.py b/sdks/python/apache_beam/runners/interactive/pipeline_instrument.py index 9b97c500c3d4..c62110a68e7d 100644 --- a/sdks/python/apache_beam/runners/interactive/pipeline_instrument.py +++ b/sdks/python/apache_beam/runners/interactive/pipeline_instrument.py @@ -73,11 +73,11 @@ def __init__(self, var, version, producer_version, pipeline_id): @staticmethod def from_str(r): - split = r.split('|') + split = r.split('-') return CacheKey(split[0], split[1], split[2], split[3]) def __repr__(self): - return '|'.join( + return '-'.join( [self.var, self.version, self.producer_version, self.pipeline_id])