-
## Описание
На данный момент для удобства все объекты представлены как dataclass-ы. И происходит конвертация в типы от protobuf. Модельки приходится поддерживать руками. Чтобы избавиться от рутины, п…
-
Hey there,
I've incorrectly passed a string instead of a message to a grpc field. This will result in an exception which is thrown during encoding in the `__bytes__` method (https://github.com/dani…
-
[Protobuf does not serialise default values](https://developers.google.com/protocol-buffers/docs/proto3#default), however the betterproto objects could retain them.
Consider:
```protobuf
enum MyT…
-
Is it possible to compile .proto files with the betterproto plugin from a custom setuptools command? For example, ```python setup.py build_proto```
This is what my setup.py looks like:
```
import…
-
Perhaps I don't understand the intended use of the `to_dict` method but, at least for my use case, I would prefer it to return the actual enum instead of it's name as a string.
For example:
```
…
-
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…
-
The issue affects both relative imports and google.protobuf imports, but is not 100% reproducible.
My working theory is that for service method input types `output_package.imports` sometimes popula…
-
Proto file:
```
message BadRegexTestMessage {
uint64 ds18b20_serial_code = 1;
}
```
Result:
```
class BadRegexTestMessage(betterproto.Message):
ds18_b20_serial_code: int = betterp…
-
## Is your feature request related to a problem? Please describe.
I'm currently using betterproto to generate Pydantic models for my FastAPI application. However, FastAPI is unable to properly seri…
-
Plugin function cannot be used in Windows system