-
# Problem
Currently these two enums in the same file will be both compiled into the same name of `ContentStatus`
```
message Content {enum Status{ ... }}
enum ContentStatus{ ... }
```
Curr…
qria updated
8 months ago
-
First of all, I looked at the issue #408 and I am absolutely sure that I have `betterproto[compiler]` of version `2.0.0b5` installed
I have this file structure:
```
protos
├── common.proto
└── …
-
The google GRPC compiler copies the comments made in the proto files to their .py counter parts.
For code documentation it would be great if the betterproto compiler could also copy over the added …
-
I would like to use betterproto for the generation of code from proto messages but without the usage of gRPC. However, there are still services defined in my .proto files for which I will be generatin…
-
## Env
Python: 3.9
protoc: 3.15.6
betterproto: 2.0.0b3
OS: linux
---
### Given proto
```proto
syntax = "proto3";
package com.test.v1;
import "google/protobuf/empty.proto";
service…
-
mp4文件转成file_box对象后,room.say(file_box)报错
File "D:\venv\wechaty_bot\lib\site-packages\wechaty\user\room.py", line 398, in say
file=some_thing
File "D:\venv\wechaty_bot\lib\site-packages\wecha…
-
I'm on Python 3.9.9, using `betterproto==2.0.0b5`.
On the generated code, it uses `typing.List`, and sometimes does `List["FooBar"]` if `FooBar` hasn't already been defined. This does work.
I do…
-
Hi there, thanks for the great project!
My environment:
betterproto: v2.0.0b3
python: v3.8.5
OS: Ubuntu 20.04
I use `deprecated` option in a message definition. betterproto generates a `warni…
-
## Описание
На данный момент для удобства все объекты представлены как dataclass-ы. И происходит конвертация в типы от protobuf. Модельки приходится поддерживать руками. Чтобы избавиться от рутины, п…
-
# Consider this protobuf message:
```
message OneOfDemo{
oneof value_type {
bool bool_value = 1;
int64 int64_value = 2;
}
}
```
# Using the official protobuf codeg…