python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC

Results 211 python-betterproto issues
Sort by recently updated
recently updated
newest added

### Summary I'd like to dynamically add non-public methods to my Enums ### What is the feature request for? The core library ### The Problem I'm mixing up betterproto.Enum with...

enhancement

### Summary When you don't add an explicit `optional`, fields are not serialized properly if they happen to be set to the default value. ### Reproduction Steps ``` message Sample...

bug
investigation needed

## The Problem Currently, the code of betterproto's compiler and betterproto's lib are together, in the same repo, same Python environment, etc. This has several disadvantages: - The users of...

enhancement

### Summary Regenerating the proto files make the tests fail ### Reproduction Steps Re-generate the files used in the compiler, as documented in the `README`: ``` protoc \ --plugin=protoc-gen-custom=src/betterproto/plugin/main.py \...

bug
investigation needed

### Summary ListValue is not iterable ### What is the feature request for? The core library ### The Problem With official protobuf_pb2, you can do: ```py args = ListValue() args.extend([1,2,3])...

enhancement

## Summary Added support for the official python grpc library ([grpcio](https://grpc.io)) ## Checklist - [x] If code changes were made then they have been tested. - [x] I have updated...

### Summary When I create a contract with a repeated int64 variable, it serializes into repeated string, which is an unpredictable behaviour ### Reproduction Steps 1. Create a contract: ````protobuf...

bug
investigation needed

### Summary There should be an alternative __bytes__ method that allows to serialize zeroes for proto2 syntax. Currently zeroes enums are skipped as they are "default" values which is incorrect...

bug
investigation needed

23 open PRs at the time of writing, no replies on those, or any updates. Last release almost a year ago

### Summary Unknown value for enum error in from_json ### Reproduction Steps ```protobuf syntax = "proto3"; package hello; enum Test { TestUnset = 0; Test1 = 1; Test2 = 2;...

bug
investigation needed