-
I have some infrastructure developed around the previously gen'd grpc code, however I would really like to adopt betterproto for all its extra pythonic features.
The only hurdle i'm facing is that…
-
If [PEP 681](https://www.python.org/dev/peps/pep-0681) is accepted we would be able to simplify the generated code by removing the dataclasses decorator and then implictly make `betterproto.Message`s …
-
When you pass in the dictionary a float to an int field, this is casted to int (line 890 `betterproto/__init__.py`). I would expect a similar behaviour in the reverse situation when you pass an int to…
-
If a float is set on a Message field of type int then an exception is raised when serialising. Floats and ints are largely interchangeable in python3, so maybe betterproto should handle this more grac…
nat-n updated
4 years ago
-
From time to time, in our applications that do client calls to gRPC APIs we see this kind of error:
```
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/sslproto.py",…
-
Here the template as example:
```
message Test {
google.protobuf.Struct data = 1;
}
```
So, the idea is to add a function to cast a python dictionary in the protobuf structure. The value of …
-
Custom options are a vanilla proto feature documented [here](https://developers.google.com/protocol-buffers/docs/proto#customoptions). I personally have a use case for them to apply constraints, simil…
-
Hi all!
Hope you are all doing great @nat-n @danielgtaylor @abn
I see v2 is still in beta and not merged to master... are we not going to merge this? I think at some point it must be considere…
-
Given a file like...
```
import "badger/mushroom";
package badger.snake;
message Snake {
badger.mushroom.Mushroom mushroom = ...;
}
```
This results in compiling a `badger/snake.py` …
danni updated
3 years ago
-
Whenever I send a request to **/v2/auth/sms/send?auth_type=sms**.
I get following as response:
`{
"meta": {
"status": 200
},
"data": {
"otp_length": 6,
"sms_sent": false
}…