This is an automated email from the ASF dual-hosted git repository. mergebot-role pushed a commit to branch mergebot in repository https://gitbox.apache.org/repos/asf/beam-site.git
commit 6aee6f034c4c472f229ef39c6d8a85282ced8afc Author: Maria Garcia Herrero <mari...@google.com> AuthorDate: Wed Jul 12 14:48:05 2017 -0700 Address review comments --- src/contribute/ptransform-style-guide.md | 4 ++-- src/documentation/runners/direct.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contribute/ptransform-style-guide.md b/src/contribute/ptransform-style-guide.md index 933e31c..3624b02 100644 --- a/src/contribute/ptransform-style-guide.md +++ b/src/contribute/ptransform-style-guide.md @@ -172,8 +172,8 @@ Data processing is tricky, full of corner cases, and difficult to debug, because Do: * Generally, follow the rules of [semantic versioning](http://semver.org/). -* If the API of the transform is not yet stable, annotate it as `@Experimental` (Java) or `@experimental` ([python](https://beam.apache.org/documentation/sdks/pydoc/2.0.0/apache_beam.utils.html#module-apache_beam.utils.annotations)). -* If the API deprecated, annotate it as `@Deprecated` (Java) or `@deprecated` ([python](https://beam.apache.org/documentation/sdks/pydoc/2.0.0/apache_beam.utils.html#module-apache_beam.utils.annotations)). +* If the API of the transform is not yet stable, annotate it as `@Experimental` (Java) or `@experimental` ([Python](https://beam.apache.org/documentation/sdks/pydoc/{{ site.release_latest }}/apache_beam.utils.html#module-apache_beam.utils.annotations)). +* If the API deprecated, annotate it as `@Deprecated` (Java) or `@deprecated` ([Python](https://beam.apache.org/documentation/sdks/pydoc/{{ site.release_latest }}/apache_beam.utils.html#module-apache_beam.utils.annotations)). * 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 [semantic versioning](http://semver.org/)), it is better to wrap them in your own classes. Do not: diff --git a/src/documentation/runners/direct.md b/src/documentation/runners/direct.md index b11976e..cd99eb5 100644 --- a/src/documentation/runners/direct.md +++ b/src/documentation/runners/direct.md @@ -27,7 +27,7 @@ Here are some resources with information about how to test your pipelines. <ul> <!-- Java specific links --> <li class="language-java"><a href="{{ site.baseurl }}/blog/2016/10/20/test-stream.html">Testing Unbounded Pipelines in Apache Beam</a> talks about the use of Java classes <a href="{{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/testing/PAssert.html">PAssert</a> and <a href="{{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/testing/TestStream.html">TestStream</a> to test your pipe [...] - <li class="language-java">The <a href="{{ site.baseurl }}/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="{{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/testing/PAssert.html"><code>PAssert</code></a>.</li> + <li class="language-java">The <a href="{{ site.baseurl }}/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="{{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/testing/PAssert.html"><code>PAssert</code>.</li> <!-- Python specific links --> <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></a>.</li> -- To stop receiving notification emails like this one, please contact "commits@beam.apache.org" <commits@beam.apache.org>.