You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ro...@apache.org on 2017/04/24 21:52:48 UTC

[4/7] beam git commit: Add instructions to regenerate Python proto wrappers.

Add instructions to regenerate Python proto wrappers.


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/11103afa
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/11103afa
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/11103afa

Branch: refs/heads/master
Commit: 11103afa4a46cc1835f1479651bcd7c808d6a33c
Parents: 0191e04
Author: Robert Bradshaw <ro...@gmail.com>
Authored: Fri Apr 21 09:59:52 2017 -0700
Committer: Robert Bradshaw <ro...@gmail.com>
Committed: Mon Apr 24 14:52:27 2017 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/runners/api/__init__.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/11103afa/sdks/python/apache_beam/runners/api/__init__.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/runners/api/__init__.py b/sdks/python/apache_beam/runners/api/__init__.py
index cce3aca..e94673c 100644
--- a/sdks/python/apache_beam/runners/api/__init__.py
+++ b/sdks/python/apache_beam/runners/api/__init__.py
@@ -14,3 +14,17 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
+
+"""Checked in to avoid protoc dependency for Python development.
+
+Regenerate files with::
+
+    protoc -I../common/runner-api/src/main/proto/ \
+        --python_out=apache_beam/runners/api/ \
+        ../common/runner-api/src/main/proto/*.proto
+
+    protoc -I../common/{fn,runner}-api/src/main/proto/ \
+        --python_out=apache_beam/runners/api/ \
+        --grpc_python_out=apache_beam/runners/api/ \
+        ../common/fn-api/src/main/proto/*.proto
+"""