This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push:
new f521ead256f Publishing website 2023/02/10 22:17:25 at commit cff82b5
f521ead256f is described below
commit f521ead256f8c062d89f482bb40e75dc9a31c54a
Author: jenkins <[email protected]>
AuthorDate: Fri Feb 10 22:17:25 2023 +0000
Publishing website 2023/02/10 22:17:25 at commit cff82b5
---
.../pipelines/test-your-pipeline/index.html | 18 +++++++++++++++---
website/generated-content/sitemap.xml | 2 +-
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git
a/website/generated-content/documentation/pipelines/test-your-pipeline/index.html
b/website/generated-content/documentation/pipelines/test-your-pipeline/index.html
index f3bcf57fb39..e415192478e 100644
---
a/website/generated-content/documentation/pipelines/test-your-pipeline/index.html
+++
b/website/generated-content/documentation/pipelines/test-your-pipeline/index.html
@@ -74,7 +74,9 @@ function
openMenu(){addPlaceholder();blockScroll();}</script><div class="clearfi
<span class=c1>// Run the pipeline.
</span><span class=c1></span> <span class=n>p</span><span
class=o>.</span><span class=na>run</span><span class=o>();</span>
<span class=o>}</span>
-<span class=o>}</span></code></pre></div></div></div><div class="language-py
snippet"><div class="notebook-skip code-snippet"><a class=copy type=button
data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code
class=language-py data-lang=py><span class=kn>from</span> <span
class=nn>apache_beam.testing.test_pipeline</span> <span class=kn>import</span>
<span class=n>TestPipeline</span>
+<span class=o>}</span></code></pre></div></div></div><div class="language-py
snippet"><div class="notebook-skip code-snippet"><a class=copy type=button
data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code
class=language-py data-lang=py><span class=kn>import</span> <span
class=nn>unittest</span>
+<span class=kn>import</span> <span class=nn>apache_beam</span> <span
class=kn>as</span> <span class=nn>beam</span>
+<span class=kn>from</span> <span
class=nn>apache_beam.testing.test_pipeline</span> <span class=kn>import</span>
<span class=n>TestPipeline</span>
<span class=kn>from</span> <span class=nn>apache_beam.testing.util</span>
<span class=kn>import</span> <span class=n>assert_that</span>
<span class=kn>from</span> <span class=nn>apache_beam.testing.util</span>
<span class=kn>import</span> <span class=n>equal_to</span>
@@ -136,7 +138,17 @@ function
openMenu(){addPlaceholder();blockScroll();}</script><div class="clearfi
<span class=c1>// Run the pipeline.
</span><span class=c1></span> <span class=n>p</span><span
class=o>.</span><span class=na>run</span><span class=o>();</span>
<span class=o>}</span>
-<span class=o>}</span></code></pre></div></div></div><div class="language-py
snippet"><div class="notebook-skip code-snippet"><a class=copy type=button
data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code
class=language-py data-lang=py><span class=k>class</span> <span
class=nc>WordCountTest</span><span class=p>(</span><span
class=n>unittest</span><span class=o>.</span><span class=n>TestCa [...]
+<span class=o>}</span></code></pre></div></div></div><div class="language-py
snippet"><div class="notebook-skip code-snippet"><a class=copy type=button
data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img
src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code
class=language-py data-lang=py><span class=kn>import</span> <span
class=nn>unittest</span>
+<span class=kn>import</span> <span class=nn>apache_beam</span> <span
class=kn>as</span> <span class=nn>beam</span>
+<span class=kn>from</span> <span
class=nn>apache_beam.testing.test_pipeline</span> <span class=kn>import</span>
<span class=n>TestPipeline</span>
+<span class=kn>from</span> <span class=nn>apache_beam.testing.util</span>
<span class=kn>import</span> <span class=n>assert_that</span>
+<span class=kn>from</span> <span class=nn>apache_beam.testing.util</span>
<span class=kn>import</span> <span class=n>equal_to</span>
+
+<span class=k>class</span> <span class=nc>CountWords</span><span
class=p>(</span><span class=n>beam</span><span class=o>.</span><span
class=n>PTransform</span><span class=p>):</span>
+ <span class=c1># CountWords transform omitted for conciseness.</span>
+ <span class=c1># Full transform can be found here -
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/wordcount_debugging.py</span>
+
+<span class=k>class</span> <span class=nc>WordCountTest</span><span
class=p>(</span><span class=n>unittest</span><span class=o>.</span><span
class=n>TestCase</span><span class=p>):</span>
<span class=c1># Our input data, which will make up the initial
PCollection.</span>
<span class=n>WORDS</span> <span class=o>=</span> <span class=p>[</span>
@@ -161,7 +173,7 @@ function
openMenu(){addPlaceholder();blockScroll();}</script><div class="clearfi
<span class=c1># Assert that the output PCollection matches the
EXPECTED_COUNTS data.</span>
<span class=n>assert_that</span><span class=p>(</span><span
class=n>output</span><span class=p>,</span> <span class=n>equal_to</span><span
class=p>(</span><span class=n>EXPECTED_COUNTS</span><span class=p>),</span>
<span class=n>label</span><span class=o>=</span><span
class=s1>'CheckOutput'</span><span class=p>)</span>
- <span class=c1># The pipeline will run and verify the
results.</span></code></pre></div></div></div><div class=feedback><p
class=update>Last updated on 2022/10/11</p><h3>Have you found everything you
were looking for?</h3><p class=description>Was it all useful and clear? Is
there anything that you would like to change? Let us know!</p><button
class=load-button><a href="mailto:[email protected]?subject=Beam Website
Feedback">SEND FEEDBACK</a></button></div></div></div><footer class= [...]
+ <span class=c1># The pipeline will run and verify the
results.</span></code></pre></div></div></div><div class=feedback><p
class=update>Last updated on 2023/02/10</p><h3>Have you found everything you
were looking for?</h3><p class=description>Was it all useful and clear? Is
there anything that you would like to change? Let us know!</p><button
class=load-button><a href="mailto:[email protected]?subject=Beam Website
Feedback">SEND FEEDBACK</a></button></div></div></div><footer class= [...]
<a href=https://www.apache.org>The Apache Software Foundation</a>
| <a href=/privacy_policy>Privacy Policy</a>
| <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam
logo, and the Apache feather logo are either registered trademarks or
trademarks of The Apache Software Foundation. All other products or name brands
are trademarks of their respective holders, including The Apache Software
Foundation.</div></div><div class="footer__cols__col
footer__cols__col__logos"><div class=footer__cols__col--group><div
class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...]
\ No newline at end of file
diff --git a/website/generated-content/sitemap.xml
b/website/generated-content/sitemap.xml
index bd286432117..8513e7547d0 100644
--- a/website/generated-content/sitemap.xml
+++ b/website/generated-content/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.44.0/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/catego
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.44.0/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/blog/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/categories/</loc><lastmod>2023-01-18T12:23:16-05:00</lastmod></url><url><loc>/catego
[...]
\ No newline at end of file