This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use buf to generate python stubs (#346)
* Buf python migration Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Generate pyi files Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Add venv to .gitgnore Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Use buf to generate python stubs Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Use buf docker image to generate stubs Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Add stubs produced by call to `buf generate` using buf's docker image Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Add pyi files Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Use buf locally Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Verify that generated protos by using buf Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Copy generated code to a separate artifact Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> * Move back to go_generate.yml@master Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> Signed-off-by: Eduardo Apolinario <eapolinario@users.noreply.github.com> Co-authored-by: Eduardo Apolinario <eapolinario@users.noreply.github.com>
- Loading branch information
1 parent
0d0c0ed
commit f4ede35
Showing
171 changed files
with
8,320 additions
and
24,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ docs/build/ | |
tmp/ | ||
.python-version | ||
__pycache__/ | ||
|
||
venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: v1 | ||
managed: | ||
enabled: true | ||
plugins: | ||
- remote: buf.build/grpc/plugins/python:v1.49.1-1 | ||
out: gen/pb_python | ||
- remote: buf.build/protocolbuffers/plugins/python:v21.7.0-1 | ||
out: gen/pb_python | ||
- remote: buf.build/protocolbuffers/plugins/pyi:v21.9.0-1 | ||
out: gen/pb_python |
Empty file.
Empty file.
Empty file.
Empty file.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.