Repository: beam Updated Branches: refs/heads/master 8312b6f59 -> b1a2dbeb1
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/12c9ba1a Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/12c9ba1a Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/12c9ba1a Branch: refs/heads/master Commit: 12c9ba1a95204daaf089de93b615ae9cd8a6c4fa Parents: 8312b6f Author: Maria Garcia Herrero <[email protected]> Authored: Tue May 9 17:43:33 2017 -0700 Committer: [email protected] <[email protected]> Committed: Tue May 9 23:03:29 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/12c9ba1a/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):
