beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [1/2] beam git commit: Cherry-pick #3027 Mark PipelineVisitor and AppliedPTransform as internal
Date Wed, 10 May 2017 15:34:57 GMT
Repository: beam
Updated Branches:
  refs/heads/release-2.0.0 d11e96466 -> d10fad120


Cherry-pick #3027 Mark PipelineVisitor and AppliedPTransform as internal


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/4c021297
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/4c021297
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/4c021297

Branch: refs/heads/release-2.0.0
Commit: 4c0212970bbb33c385c6a7763c3446e3786114e6
Parents: d11e964
Author: chamikara@google.com <chamikara@google.com>
Authored: Tue May 9 23:03:44 2017 -0700
Committer: Ahmet Altay <altay@google.com>
Committed: Wed May 10 08:34:10 2017 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/pipeline.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/4c021297/sdks/python/apache_beam/pipeline.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/pipeline.py b/sdks/python/apache_beam/pipeline.py
index ed896c4..83c7287 100644
--- a/sdks/python/apache_beam/pipeline.py
+++ b/sdks/python/apache_beam/pipeline.py
@@ -361,9 +361,10 @@ class Pipeline(object):
 
 
 class PipelineVisitor(object):
-  """Visitor pattern class used to traverse a DAG of transforms.
+  """For internal use only; no backwards-compatibility guarantees.
 
-  This is an internal class used for bookkeeping by a Pipeline.
+  Visitor pattern class used to traverse a DAG of transforms
+  (used internally by Pipeline for bookeeping purposes).
   """
 
   def visit_value(self, value, producer_node):
@@ -390,9 +391,10 @@ class PipelineVisitor(object):
 
 
 class AppliedPTransform(object):
-  """A transform node representing an instance of applying a PTransform.
+  """For internal use only; no backwards-compatibility guarantees.
 
-  This is an internal class used for bookkeeping by a Pipeline.
+  A transform node representing an instance of applying a PTransform
+  (used internally by Pipeline for bookeeping purposes).
   """
 
   def __init__(self, parent, transform, full_label, inputs):


Mime
View raw message