From d5cbda0b47e0740fa28c14eb2dda4043fd979f3b Mon Sep 17 00:00:00 2001 From: Corentin Musard Date: Tue, 9 Apr 2024 10:41:34 +0200 Subject: [PATCH] Generate python protobuf --- .gitignore | 3 +++ buf.gen.yaml | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index b603b84..46d8299 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ scratch *.db *.db-shm *.db-wal + +# generated python files +protogen/python diff --git a/buf.gen.yaml b/buf.gen.yaml index e36ccd2..504f197 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -15,3 +15,10 @@ plugins: - plugin: buf.build/connectrpc/go out: protogen/go opt: paths=source_relative + + - plugin: buf.build/grpc/python + out: protogen/python + - plugin: buf.build/protocolbuffers/python + out: protogen/python + - plugin: buf.build/protocolbuffers/pyi + out: protogen/python