-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
28 lines (25 loc) · 848 Bytes
/
buf.gen.yaml
File metadata and controls
28 lines (25 loc) · 848 Bytes
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
version: v2
managed:
enabled: true
disable:
- file_option: go_package
module: buf.build/bufbuild/protovalidate
- file_option: go_package
module: buf.build/googleapis/googleapis
- file_option: go_package
module: buf.build/grpc-ecosystem/grpc-gateway
plugins:
# Standard Python protobuf generation
- remote: buf.build/protocolbuffers/python:v31.1
out: src/otdf_python_proto
# Python type stubs generation
- remote: buf.build/protocolbuffers/pyi:v31.1
out: src/otdf_python_proto
# Connect Python client generation (preferred)
- local: ../.venv/bin/protoc-gen-connect-python
out: src/otdf_python_proto
opt:
- paths=source_relative
# Legacy gRPC Python generation (for backward compatibility)
- remote: buf.build/grpc/python:v1.74.0
out: src/otdf_python_proto/legacy_grpc