so1n
so1n
我刚下载 发现非群消息的话 需要自己重新打开窗口才能刷新消息 否则一直收不到消息
> @so1n > hi,你可以尝试使用一下网页版看看有没有这个问题嘛?需要定位问题是来自 electron 还是本来飞书的网页端 网页版没有这个问题的哦
An open source tool I wrote that is compatible with pgv rules can generate pydantic model code through protobuf plug-ins https://github.com/so1n/protobuf_to_pydantic
python support pydantic
Hello, I am the author of this library. I've just finished implementing version 0.2.1, which enables `protobuf-to-pydantic` to run as a plugin for `buf-cli` (all feature of `protobuf-to-pydantic` works).The relevant...
@mikey0000 Protobuf's JsonFormat implementation is more complex there are many cases that can not be dealt with, you need to modify his code to achieve. So I will delay the...
@jankatins Are you talking about something similar to this Issue? #11
Currently, I don't have a Windows system to reproduce the current scenario. You can refer to the following link to solve the problem: - https://stackoverflow.com/questions/42444090/how-to-run-a-protobuf-python-plugin-on-windows - https://github.com/danielgtaylor/python-betterproto/blob/master/src/betterproto/plugin/plugin.bat - https://github.com/nipunn1313/mypy-protobuf/blob/main/mypy_protobuf/protoc_gen_mypy.bat
@hokor Can you describe your needs more specifically? From what I understand, Protobuf's field naming rules are similar to Python. Also the `MessageToDict` function of `google.protobuf.json_format ` provides a `preserving_proto_field_name`...
@wizlif Public remote buf requires official support (see [issue](https://github.com/bufbuild/plugins/issues/589)). Until then you can only use a local plugin or create your own private buf plugin according to [tutorial](https://github.com/so1n/protobuf_to_pydantic/blob/master/buf-plugin/README.md#custom-plugins).