rshamunov commented on code in PR #26933:
URL: https://github.com/apache/beam/pull/26933#discussion_r1222776184
##########
website/www/site/content/en/get-started/wordcount-example.md:
##########
@@ -1325,6 +1355,15 @@ word_counts = windowed_words | CountWords()
counted := wordcount.CountWords(s, windowedLines)
{{< /highlight >}}
+{{< paragraph class="language-java language-py" >}}
+### Try the full example in Playground
Review Comment:
Was not embedded
##########
website/www/site/content/en/documentation/transforms/python/elementwise/tostring.md:
##########
@@ -73,18 +55,9 @@ into a string delimited by `','`.
You can specify a different delimiter using the `delimiter` argument.
The string output will be equivalent to `iterable.join(delimiter)`.
-{{< highlight language="py"
file="sdks/python/apache_beam/examples/snippets/transforms/elementwise/tostring_iterables.py"
-
notebook="examples/notebooks/documentation/transforms/python/elementwise/tostring"
>}}
-{{< code_sample
"sdks/python/apache_beam/examples/snippets/transforms/elementwise/tostring_iterables.py"
tostring_iterables >}}
-{{< /highlight >}}
-
-{{< paragraph class="notebook-skip" >}}
-Output:
-{{< /paragraph >}}
-
-{{< highlight class="notebook-skip" >}}
-{{< code_sample
"sdks/python/apache_beam/examples/snippets/transforms/elementwise/tostring_test.py"
plants_csv >}}
-{{< /highlight >}}
+{{< playground height="700px" >}}
+{{< playground_snippet language="py" path="SDK_PYTHON_ToStringIterables"
show="tostring_iterables" >}}
Review Comment:
No output
##########
website/www/site/content/en/documentation/transforms/python/elementwise/tostring.md:
##########
@@ -73,18 +55,9 @@ into a string delimited by `','`.
You can specify a different delimiter using the `delimiter` argument.
The string output will be equivalent to `iterable.join(delimiter)`.
-{{< highlight language="py"
file="sdks/python/apache_beam/examples/snippets/transforms/elementwise/tostring_iterables.py"
-
notebook="examples/notebooks/documentation/transforms/python/elementwise/tostring"
>}}
-{{< code_sample
"sdks/python/apache_beam/examples/snippets/transforms/elementwise/tostring_iterables.py"
tostring_iterables >}}
-{{< /highlight >}}
-
-{{< paragraph class="notebook-skip" >}}
-Output:
-{{< /paragraph >}}
-
-{{< highlight class="notebook-skip" >}}
-{{< code_sample
"sdks/python/apache_beam/examples/snippets/transforms/elementwise/tostring_test.py"
plants_csv >}}
-{{< /highlight >}}
+{{< playground height="700px" >}}
+{{< playground_snippet language="py" path="SDK_PYTHON_ToStringIterables"
show="tostring_iterables" >}}
Review Comment:
Resolved
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]