You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2020/07/15 23:10:06 UTC

[beam] branch master updated: Updated output tags

This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 5688521  Updated output tags
     new bcdb3ee  Merge pull request #12269 from davidcavazos/update-output-tags
5688521 is described below

commit 568852136c1c26b466f2eb6ae9926b49fa5acb68
Author: David Cavazos <dc...@google.com>
AuthorDate: Wed Jul 15 11:51:42 2020 -0700

    Updated output tags
---
 .../transforms/python/aggregation/cogroupbykey.md     |  2 +-
 .../transforms/python/elementwise/filter.md           | 12 ++++++------
 .../transforms/python/elementwise/flatmap.md          | 19 +++++++++----------
 .../transforms/python/elementwise/keys.md             |  2 +-
 .../transforms/python/elementwise/kvswap.md           |  2 +-
 .../transforms/python/elementwise/map.md              | 16 ++++++++--------
 .../transforms/python/elementwise/pardo.md            |  6 +++---
 .../transforms/python/elementwise/partition.md        |  6 +++---
 .../transforms/python/elementwise/regex.md            | 18 +++++++++---------
 .../transforms/python/elementwise/tostring.md         |  6 +++---
 .../transforms/python/elementwise/values.md           |  2 +-
 .../transforms/python/elementwise/withtimestamps.md   |  6 +++---
 12 files changed, 48 insertions(+), 49 deletions(-)

diff --git a/website/www/site/content/en/documentation/transforms/python/aggregation/cogroupbykey.md b/website/www/site/content/en/documentation/transforms/python/aggregation/cogroupbykey.md
index ae119dd..f80c3b2 100644
--- a/website/www/site/content/en/documentation/transforms/python/aggregation/cogroupbykey.md
+++ b/website/www/site/content/en/documentation/transforms/python/aggregation/cogroupbykey.md
@@ -43,7 +43,7 @@ The values of each output element are dictionaries where the names correspond to
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/filter.md b/website/www/site/content/en/documentation/transforms/python/elementwise/filter.md
index 6a157f1..3f60244 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/filter.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/filter.md
@@ -41,7 +41,7 @@ We define a function `is_perennial` which returns `True` if the element's durati
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -61,7 +61,7 @@ We can also use lambda functions to simplify **Example 1**.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -84,7 +84,7 @@ In this example, `has_duration` takes `plant` and `duration` as arguments.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -108,7 +108,7 @@ We then use that value to filter out perennials.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -130,7 +130,7 @@ so it is possible to iterate over large `PCollection`s that won't fit into memor
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -156,7 +156,7 @@ If the `PCollection` won't fit into memory, use `beam.pvalue.AsIter(pcollection)
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Filter`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/flatmap.md b/website/www/site/content/en/documentation/transforms/python/elementwise/flatmap.md
index 872805b3..78ea961 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/flatmap.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/flatmap.md
@@ -42,7 +42,7 @@ This pipeline splits the input element using whitespaces, creating a list of zer
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -62,14 +62,13 @@ We define a function `split_words` which splits an input `str` element using the
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
 {{< code_sample "sdks/python/apache_beam/examples/snippets/transforms/elementwise/flatmap_test.py" plants >}}
 {{< /highlight >}}
 
-
 {{< buttons-code-snippet
   py="sdks/python/apache_beam/examples/snippets/transforms/elementwise/flatmap.py"
   notebook="examples/notebooks/documentation/transforms/python/elementwise/flatmap" >}}
@@ -85,7 +84,7 @@ We use a lambda function that returns the same input element it received.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -107,7 +106,7 @@ Each yielded result in the generator is an element in the resulting `PCollection
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -128,7 +127,7 @@ you can use `FlatMapTuple` to unpack them into different function arguments.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMapTuple`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -151,7 +150,7 @@ In this example, `split_words` takes `text` and `delimiter` as arguments.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -175,7 +174,7 @@ We then use that value as the delimiter for the `str.split` method.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -197,7 +196,7 @@ so it is possible to iterate over large `PCollection`s that won't fit into memor
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -223,7 +222,7 @@ If the `PCollection` won't fit into memory, use `beam.pvalue.AsIter(pcollection)
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `FlatMap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/keys.md b/website/www/site/content/en/documentation/transforms/python/elementwise/keys.md
index 65b4cba..1bfac3b 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/keys.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/keys.md
@@ -33,7 +33,7 @@ Then, we apply `Keys` to extract the keys and discard the values.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Keys`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/kvswap.md b/website/www/site/content/en/documentation/transforms/python/elementwise/kvswap.md
index 0bfe13d..259fe89 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/kvswap.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/kvswap.md
@@ -34,7 +34,7 @@ Then, we apply `KvSwap` to swap the keys and values.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `KvSwap`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/map.md b/website/www/site/content/en/documentation/transforms/python/elementwise/map.md
index f3036fe..a6f3bda 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/map.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/map.md
@@ -40,7 +40,7 @@ It strips the input element's whitespaces, including newlines and tabs.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -60,7 +60,7 @@ We define a function `strip_header_and_newline` which strips any `'#'`, `' '`, a
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -80,7 +80,7 @@ We can also use lambda functions to simplify **Example 2**.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -103,7 +103,7 @@ In this example, `strip` takes `text` and `chars` as arguments.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -124,7 +124,7 @@ you can use `MapTuple` to unpack them into different function arguments.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `MapTuple`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -148,7 +148,7 @@ We then use that value as the characters for the `str.strip` method.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -170,7 +170,7 @@ so it is possible to iterate over large `PCollection`s that won't fit into memor
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -196,7 +196,7 @@ If the `PCollection` won't fit into memory, use `beam.pvalue.AsIter(pcollection)
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Map`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/pardo.md b/website/www/site/content/en/documentation/transforms/python/elementwise/pardo.md
index cd10cde..91c6715 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/pardo.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/pardo.md
@@ -46,7 +46,7 @@ and it can yield zero or more output elements.
 {{</ highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `ParDo`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -75,7 +75,7 @@ In this example, we add new parameters to the `process` method to bind parameter
 {{</ highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-`stdout` output:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -136,7 +136,7 @@ starts and finishes with `start_bundle` and `finish_bundle`.
 {{</ highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-`stdout` output:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/partition.md b/website/www/site/content/en/documentation/transforms/python/elementwise/partition.md
index 72f6aa0..0589705 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/partition.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/partition.md
@@ -51,7 +51,7 @@ We partition the `PCollection` into one `PCollection` for every duration type.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection`s:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -71,7 +71,7 @@ We can also use lambda functions to simplify **Example 1**.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection`s:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -119,7 +119,7 @@ You might want to adapt the bucket assignment to use a more appropriate or rando
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection`s:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/regex.md b/website/www/site/content/en/documentation/transforms/python/elementwise/regex.md
index 2e55c15..c31fa45 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/regex.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/regex.md
@@ -66,7 +66,7 @@ To start matching at any point instead of the beginning of the string, use
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.matches`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -95,7 +95,7 @@ To start matching at any point instead of the beginning of the string, use
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.all_matches`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -125,7 +125,7 @@ To start matching at any point instead of the beginning of the string, use
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.matches_kv`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -155,7 +155,7 @@ If you need to match from the start only, consider using
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.find`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -185,7 +185,7 @@ If you need to match all groups from the start only, consider using
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.find_all`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -216,7 +216,7 @@ If you need to match as key-value pairs from the start only, consider using
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.find_kv`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -239,7 +239,7 @@ on the `replacement`.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.replace_all`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -262,7 +262,7 @@ on the `replacement`.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.replace_first`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -283,7 +283,7 @@ The argument `outputEmpty` is set to `False` by default, but can be set to `True
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Regex.split`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/tostring.md b/website/www/site/content/en/documentation/transforms/python/elementwise/tostring.md
index 61a2070..2409524 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/tostring.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/tostring.md
@@ -40,7 +40,7 @@ You can specify a different delimiter using the `delimiter` argument.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `ToString`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -61,7 +61,7 @@ The string output will be equivalent to `str(element)`.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `ToString`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -84,7 +84,7 @@ The string output will be equivalent to `iterable.join(delimiter)`.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `ToString`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/values.md b/website/www/site/content/en/documentation/transforms/python/elementwise/values.md
index 11e54a4..90f706e 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/values.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/values.md
@@ -33,7 +33,7 @@ Then, we apply `Values` to extract the values and discard the keys.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after `Values`:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
diff --git a/website/www/site/content/en/documentation/transforms/python/elementwise/withtimestamps.md b/website/www/site/content/en/documentation/transforms/python/elementwise/withtimestamps.md
index 3cc0372..6fa4702 100644
--- a/website/www/site/content/en/documentation/transforms/python/elementwise/withtimestamps.md
+++ b/website/www/site/content/en/documentation/transforms/python/elementwise/withtimestamps.md
@@ -38,7 +38,7 @@ in the form of seconds.
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after getting the timestamps:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -80,7 +80,7 @@ These numbers have to be converted to a *"seconds"* equivalent, which can be esp
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after getting the timestamps:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}
@@ -104,7 +104,7 @@ By using processing time, there is no way of knowing if data is arriving late be
 {{< /highlight >}}
 
 {{< paragraph class="notebook-skip" >}}
-Output `PCollection` after getting the timestamps:
+Output:
 {{< /paragraph >}}
 
 {{< highlight class="notebook-skip" >}}