You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by gi...@apache.org on 2021/04/15 18:02:02 UTC

[beam] branch asf-site updated: Publishing website 2021/04/15 18:01:32 at commit 22a68fa

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 400a6b7  Publishing website 2021/04/15 18:01:32 at commit 22a68fa
400a6b7 is described below

commit 400a6b7119addb6effe1a1c7adb98859d39ba578
Author: jenkins <bu...@apache.org>
AuthorDate: Thu Apr 15 18:01:33 2021 +0000

    Publishing website 2021/04/15 18:01:32 at commit 22a68fa
---
 .../documentation/transforms/python/elementwise/pardo/index.html   | 7 ++++---
 website/generated-content/sitemap.xml                              | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/website/generated-content/documentation/transforms/python/elementwise/pardo/index.html b/website/generated-content/documentation/transforms/python/elementwise/pardo/index.html
index 886dc86..d5e7646 100644
--- a/website/generated-content/documentation/transforms/python/elementwise/pardo/index.html
+++ b/website/generated-content/documentation/transforms/python/elementwise/pardo/index.html
@@ -109,8 +109,9 @@ You can customize what a worker does when it starts and shuts down with <code>se
 You can also customize what to do when a
 <a href=https://beam.apache.org/documentation/runtime/model/#bundling-and-persistence><em>bundle of elements</em></a>
 starts and finishes with <code>start_bundle</code> and <code>finish_bundle</code>.</p><ul><li><p><a href=https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.DoFn.setup><code>DoFn.setup()</code></a>:
-Called <em>once per <code>DoFn</code> instance</em> when the <code>DoFn</code> instance is initialized.
-<code>setup</code> need not to be cached, so it could be called more than once per worker.
+Called whenever the <code>DoFn</code> instance is deserialized on the worker. This means it can be called more than once per worker because
+multiple instances of a given <code>DoFn</code> subclass may be created (e.g., due to parallelization, or due to garbage collection after a period
+of disuse).
 This is a good place to connect to database instances, open network connections or other resources.</p></li><li><p><a href=https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.DoFn.start_bundle><code>DoFn.start_bundle()</code></a>:
 Called <em>once per bundle of elements</em> before calling <code>process</code> on the first element of the bundle.
 This is a good place to start keeping track of the bundle elements.</p></li><li><p><a href=https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.DoFn.process><strong><code>DoFn.process(element, *args, **kwargs)</code></strong></a>:
@@ -176,7 +177,7 @@ teardown</code></pre></div></div><blockquote><p><em>Known issues:</em></p><ul><l
 <code>DoFn.teardown()</code> metrics are lost.</li></ul></blockquote><h2 id=related-transforms>Related transforms</h2><ul><li><a href=/documentation/transforms/python/elementwise/map>Map</a> behaves the same, but produces exactly one output for each input.</li><li><a href=/documentation/transforms/python/elementwise/flatmap>FlatMap</a> behaves the same as <code>Map</code>,
 but for each input it may produce zero or more outputs.</li><li><a href=/documentation/transforms/python/elementwise/filter>Filter</a> is useful if the function is just
 deciding whether to output an element or not.</li></ul><table align=left style=margin-right:1em><td><a class=button target=_blank href=https://beam.apache.org/releases/pydoc/current/apache_beam.transforms.core.html#apache_beam.transforms.core.Pardo><img src=https://beam.apache.org/images/logos/sdks/python.png width=32px height=32px alt=Pydoc>
-Pydoc</a></td></table><p><br><br><br></p><div class=feedback><p class=update>Last updated on 2021/02/05</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:dev@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><di [...]
+Pydoc</a></td></table><p><br><br><br></p><div class=feedback><p class=update>Last updated on 2021/04/14</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:dev@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><di [...]
 <a href=http://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></div></footer></body></html>
\ No newline at end of file
diff --git a/website/generated-content/sitemap.xml b/website/generated-content/sitemap.xml
index 7fe2c1a..8775792 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.28.0/</loc><lastmod>2021-02-22T11:40:20-08:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2021-03-31T21:00:41-04:00</lastmod></url><url><loc>/blog/</loc><lastmod>2021-03-31T21:00:41-04:00</lastmod></url><url><loc>/categories/</loc><lastmod>2021-03-31T21:00:41-04:00</lastmod></url><url><loc>/blog/k [...]
\ 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.28.0/</loc><lastmod>2021-02-22T11:40:20-08:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2021-03-31T21:00:41-04:00</lastmod></url><url><loc>/blog/</loc><lastmod>2021-03-31T21:00:41-04:00</lastmod></url><url><loc>/categories/</loc><lastmod>2021-03-31T21:00:41-04:00</lastmod></url><url><loc>/blog/k [...]
\ No newline at end of file