python-betterproto
python-betterproto copied to clipboard
Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC
Hello, I'm not sure how to work with well known types. Having a proto file like this: ``` syntax = "proto3"; package simple; import "google/protobuf/empty.proto"; service SimpleSender { rpc Send(SendParams)...
This is a rebased version of #201. I still haven't done any testing. The intention is to continue the work started in #201, add tests, and address any remaining issues.
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...
Follows from a conversation with @danielgtaylor. **THIS IS A BREAKING CHANGE** parse -> parse_ serialized_on_wire -> serialized_on_wire_ foo -> foo This allows us to reserve names for betterproto. I'll need...
Also includes a change to `Message._betterproto` to speed it up
This makes implementing some critical parts of the API to be implemented in a c extension somewhere down the road. I'm happy to fix up any currently open pull requests...
- GitHub Actions: - [x] `master` (to be verified) - [ ] dry-run off `master` - [x] Documentation - [ ] Create and target `rc` branch Note: this will need...
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...
First of all, let me say that betterproto is absolutely beautiful project with so much better interface and behavior while developing than the corresponding **python** [equivalent from Google](https://github.com/protocolbuffers/protobuf). I have...
I made a demo project to reveal the issue: https://github.com/wonderbeyond/proto-demo