Skip to content

Commit

Permalink
[RRIO][Python] Add python grpc binding for mock API (#29129)
Browse files Browse the repository at this point in the history
* add python grpc binding for mock api

* add licenses

* update python version for buf plugin

* add poetry for python dependencies

* add license

* del author,desc

* update package for pyproject

* update python path
  • Loading branch information
riteshghorse authored Nov 3, 2023
1 parent 42b04bd commit cc2e63e
Show file tree
Hide file tree
Showing 6 changed files with 414 additions and 1 deletion.
1 change: 1 addition & 0 deletions .test-infra/mock-apis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ TODO: See https://github.com/apache/beam/issues/28859
| [go](https://go.dev) | For making code changes in this directory. See [go.mod](go.mod) for required version. |
| [buf](https://github.com/bufbuild/buf#installation) | Optional for when making changes to proto. |
| [ko](https://ko.build/install/) | To easily build Go container images. |
| [poetry](https://python-poetry.org/) | To manage python dependencies. |

# Testing

Expand Down
6 changes: 5 additions & 1 deletion .test-infra/mock-apis/buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ plugins:
- name: java
out: src/main/java
- name: grpc-java
out: src/main/java
out: src/main/java
- plugin: buf.build/protocolbuffers/python:v24.4
out: src/main/python
- plugin: buf.build/grpc/python:v1.59.1
out: src/main/python
Loading

0 comments on commit cc2e63e

Please sign in to comment.