-
## code
```
from xxxx import bot
async def on_message(message: Message):
msg_type = msg.message_type()
msg_text = msg.text()
if msg_text == '小程序':
miniprogram = bot.MiniPr…
-
Hello, I am trying to parse a protobuf that was received from a websocket.
```py
@dataclass
class CMsgClientLogon(betterproto.Message):
protocol_version: int = betterproto.uint32_field(1)
…
-
Hey folks,
I'm looking to get involved with betterproto development and tried to join slack. It seems like it is invite only though? Is there a way to get an invite? Is there a public slack people …
-
I am keen to use better proto for a project that contains a simple heirarchy of protobuf files.
There is a top level proto file which contains the include statements:
```
package adapter.v1;
imp…
-
Hello!
I have an interesting one for you.
I have not had time to look into exactly why this occurs, thought I should report it first because I can reproduce it and N brains are better than 1.
…
-
Hi,
Enum `to_dict` doesn't seem to work if enum values are not sequential. Example:
```proto
message Msg {
Test t = 1;
}
enum Test {
DEFAULT = 0;
OTHER = 8;
}
```
Trying to conv…
-
#### Software and Hardware Versions
ModelCI v1.x.x, CUDA Version vx.x.x, GPU device used...
#### Problem description
Failed to install pip package of ML-Model-CI
Here is the output
```…
-
Typing to dump my structure to a dict for validation and I get
```
AttributeError: type object 'Emi3LocationInfoType' has no attribute '_serialized_on_wire'
.venv/lib/python3.8/site-packages/be…
-
executing `import betterproto` takes 110ms and consumes >12MB of RAM. Almost all of this is spent on [importing grpclib.client](https://github.com/danielgtaylor/python-betterproto/blob/master/betterpr…
nat-n updated
4 years ago
-
I'm a bit baffled about the root cause, but I have simple reproduction steps and a simple fix.
The issue can be reproduced by running this Dockerfile:
```dockerfile
FROM centos:7.5.1804
RUN yum …
nat-n updated
4 years ago