-
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
└── …
-
# 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
11 months ago
-
# Consider this protobuf message:
```
message OneOfDemo{
oneof value_type {
bool bool_value = 1;
int64 int64_value = 2;
}
}
```
# Using the official protobuf codeg…
-
programDict = program.to_dict(betterproto.Casing.CAMEL, True)
before:
![image](https://user-images.githubusercontent.com/17704611/96239085-d620fe00-0fd1-11eb-8157-ed5cd552d4f0.png)
after:
![im…
-
Traceback (most recent call last):
File "E:/python-wechaty/examples/ding-dong-bot-oop.py", line 7, in
from wechaty_puppet import FileBox # type: ignore
File "E:\python-wechaty\venv\lib\si…
-
For a PascalCase field, betterproto uses the snake case in the class field, and can handle multiple cases in input json. However, it converts it to the camel case in output json, while protobuf requir…
-
Version: betterproto==2.0.0b3
Requests with capital letters in the name seem to cause an issue with constructing methods. The request parameters are not added to the method. e.g
proto file:
```…
-
### The problem
I think this has happened after pressing map synchronization:
```pytb
2024-09-01 13:16:39.293 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrie…
nijel updated
2 weeks ago
-
### Summary
AttributeError on serializing pydantic message with inner message
### Reproduction Steps
Having the following project structure
```
$ tree
.
├── poetry.lock
├── pyproject.toml
└──…
-
I'm using 2.0.0b5.
The following file results in broken python:
```proto
syntax = "proto3";
package experiment;
import "google/protobuf/empty.proto";
message Reply {
bool happy = …