FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
a2a-python/buf.gen.yaml at main · datnq26/a2a-python · GitHub
datnq26
/
a2a-python
Public
forked from
a2aproject/a2a-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
a2a-python
/
buf.gen.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (31 loc) · 910 Bytes
Breadcrumbs
a2a-python
/
buf.gen.yaml
Copy path
File metadata and controls
31 lines (31 loc) · 910 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
version
:
v2
inputs
:
-
git_repo
:
https://github.com/a2aproject/A2A.git
ref
:
main
subdir
:
specification/grpc
managed
:
enabled
:
true
#
Python Generation
#
Using remote plugins. To use local plugins replace remote with local
#
pip install protobuf grpcio-tools
#
Optionally, install plugin to generate stubs for grpc services
#
pip install mypy-protobuf
#
Generate python protobuf code
#
- local: protoc-gen-python
#
- out: src/python
#
Generate gRPC stubs
#
- local: protoc-gen-grpc-python
#
- out: src/python
plugins
:
#
Generate python protobuf related code
#
Generates *_pb2.py files, one for each .proto
-
remote
:
buf.build/protocolbuffers/python:v29.3
out
:
src/a2a/grpc
#
Generate python service code.
#
Generates *_pb2_grpc.py
-
remote
:
buf.build/grpc/python
out
:
src/a2a/grpc
#
Generates *_pb2.pyi files.
-
remote
:
buf.build/protocolbuffers/pyi
out
:
src/a2a/grpc
Back
|
FazBrowse Home
|
New Git URL