File tree Expand file tree Collapse file tree 3 files changed +37
-5
lines changed
examples/simple-types/proto Expand file tree Collapse file tree 3 files changed +37
-5
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,40 @@ Support:
99## Python Types (@dataclass )
1010This template generates basic Python Dataclasses from Proto Messages.
1111
12+ <details >
13+ <summary>Buf Configuration</summary>
14+
15+
16+ ``` yaml
17+ # ./proto/buf.gen.yaml
18+ version : v1
19+ managed :
20+ enabled : true
21+ go_package_prefix :
22+ default : github.com/fraser-isbester/gapic-python-basic/examples/simple-types
23+ plugins :
24+ - plugin : python_gapic
25+ out : ../gen/python
26+ opt :
27+ - python-gapic-templates=/Users/fraser/code/gapic-python-basic/templates/dataclasses
28+
29+ ```
30+
31+ ``` yaml
32+ # ./proto/buf.yaml
33+ version : v1
34+ name : buf.build/fraser/simple-types
35+ breaking :
36+ use :
37+ - FILE
38+ lint :
39+ use :
40+ - DEFAULT
41+ - COMMENTS
42+ ` ` `
43+
44+ </details>
45+
1246<details>
1347 <summary>Proto Definition</summary>
1448
Original file line number Diff line number Diff line change 1+ # ./proto/buf.gen.yaml
2+
13version : v1
24managed :
35 enabled : true
46 go_package_prefix :
57 default : github.com/fraser-isbester/gapic-python-basic/examples/simple-types
68plugins :
7- - plugin : buf.build/protocolbuffers/go
8- out : ../gen/go
9- opt : paths=source_relative
109 - plugin : python_gapic
1110 out : ../gen/python
1211 opt :
Original file line number Diff line number Diff line change 1+ # ./proto/buf.yaml
12version : v1
23name : buf.build/fraser/simple-types
34breaking :
78 use :
89 - DEFAULT
910 - COMMENTS
10- - UNARY_RPC
11- - PACKAGE_NO_IMPORT_CYCLE
You can’t perform that action at this time.
0 commit comments