KevinGG commented on a change in pull request #11020: [BEAM-7926] Update Data 
Visualization
URL: https://github.com/apache/beam/pull/11020#discussion_r387342551
 
 

 ##########
 File path: sdks/python/apache_beam/runners/interactive/interactive_beam.py
 ##########
 @@ -211,20 +280,27 @@ def show(*pcolls):
         watched_pcollections.add(val)
   for pcoll in pcolls:
     if pcoll not in watched_pcollections:
-      watch({re.sub(r'[\[\]\(\)]', '_', str(pcoll)): pcoll})
+      watch({'anonymous_pcollection_{}'.format(id(pcoll)): pcoll})
 
+  import warnings
+  warnings.filterwarnings('ignore', category=DeprecationWarning)
 
 Review comment:
   Change the filtering to catch a specific message and only takes effect when 
`is_in_ipython` when the user invokes `show` for the first time.

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


With regards,
Apache Git Services

Reply via email to