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: [email protected] <[email protected]> Authored: Tue May 9 23:03:44 2017 -0700 Committer: Ahmet Altay <[email protected]> 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):
