forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (flyteorg#346)
* Buf python migration Signed-off-by: Eduardo Apolinario <[email protected]> * Generate pyi files Signed-off-by: Eduardo Apolinario <[email protected]> * Add venv to .gitgnore Signed-off-by: Eduardo Apolinario <[email protected]> * Use buf to generate python stubs Signed-off-by: Eduardo Apolinario <[email protected]> * Use buf docker image to generate stubs Signed-off-by: Eduardo Apolinario <[email protected]> * Add stubs produced by call to `buf generate` using buf's docker image Signed-off-by: Eduardo Apolinario <[email protected]> * Add pyi files Signed-off-by: Eduardo Apolinario <[email protected]> * Use buf locally Signed-off-by: Eduardo Apolinario <[email protected]> * Verify that generated protos by using buf Signed-off-by: Eduardo Apolinario <[email protected]> * Copy generated code to a separate artifact Signed-off-by: Eduardo Apolinario <[email protected]> * Move back to go_generate.yml@master Signed-off-by: Eduardo Apolinario <[email protected]> Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]>
- 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.