This is an automated email from the ASF dual-hosted git repository. mergebot-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/beam-site.git
commit 1d1840e5c3e38e4c1de472272483c3047dfad1be Author: Mergebot <merge...@apache.org> AuthorDate: Wed Jul 12 22:58:20 2017 +0000 Prepare repository for deployment. --- content/contribute/ptransform-style-guide/index.html | 3 ++- content/documentation/runners/direct/index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/contribute/ptransform-style-guide/index.html b/content/contribute/ptransform-style-guide/index.html index 1a83e41..56381bb 100644 --- a/content/contribute/ptransform-style-guide/index.html +++ b/content/contribute/ptransform-style-guide/index.html @@ -395,7 +395,8 @@ E.g. when expanding a filepattern into files, log what the filepattern was and h <ul> <li>Generally, follow the rules of <a href="http://semver.org/">semantic versioning</a>.</li> - <li>If the API of the transform is not yet stable, mark it <code class="highlighter-rouge">@Experimental</code>.</li> + <li>If the API of the transform is not yet stable, annotate it as <code class="highlighter-rouge">@Experimental</code> (Java) or <code class="highlighter-rouge">@experimental</code> (<a href="https://beam.apache.org/documentation/sdks/pydoc/2.0.0/apache_beam.utils.html#module-apache_beam.utils.annotations">Python</a>).</li> + <li>If the API deprecated, annotate it as <code class="highlighter-rouge">@Deprecated</code> (Java) or <code class="highlighter-rouge">@deprecated</code> (<a href="https://beam.apache.org/documentation/sdks/pydoc/2.0.0/apache_beam.utils.html#module-apache_beam.utils.annotations">Python</a>).</li> <li>Pay attention to the stability and versioning of third-party classes exposed by the transform’s API: if they are unstable or improperly versioned (do not obey <a href="http://semver.org/">semantic versioning</a>), it is better to wrap them in your own classes.</li> </ul> diff --git a/content/documentation/runners/direct/index.html b/content/documentation/runners/direct/index.html index c82a43e..7f39a99 100644 --- a/content/documentation/runners/direct/index.html +++ b/content/documentation/runners/direct/index.html @@ -165,7 +165,7 @@ <li class="language-java">The <a href="/get-started/wordcount-example/#testing-your-pipeline-via-passert">Apache Beam WordCount Example</a> contains an example of logging and testing a pipeline with <a href="/documentation/sdks/javadoc/2.0.0/index.html?org/apache/beam/sdk/testing/PAssert.html"><code>PAssert</code></a>.</li> <!-- Python specific links --> - <li class="language-py">You can use <a href="https://github.com/apache/beam/blob/master/sdks/python/apache_beam/transforms/util.py#L206">assert_that</a> to test your pipeline. The Python <a href="https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/wordcount_debugging.py">WordCount Debugging Example</a> contains an example of logging and testing with <a href="https://github.com/apache/beam/blob/master/sdks/python/apache_beam/transforms/util.py#L206"><code>assert_ [...] + <li class="language-py">You can use <a href="https://github.com/apache/beam/blob/master/sdks/python/apache_beam/testing/util.py#L76">assert_that</a> to test your pipeline. The Python <a href="https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/wordcount_debugging.py">WordCount Debugging Example</a> contains an example of logging and testing with <code>assert_that</code>.</li> </ul> <h2 id="direct-runner-prerequisites-and-setup">Direct Runner prerequisites and setup</h2> -- To stop receiving notification emails like this one, please contact "commits@beam.apache.org" <commits@beam.apache.org>.