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

I have a theoretical proto file message defined as: ``` message Measurement { double pressure = 1; double temperature = 2; } message MeasurementMap { map measurements = 1; }...

I'm currently facing the issue that a unary_stream connection does not behave as I would expect. (betterproto version b5) ## Client code: ![image](https://user-images.githubusercontent.com/79153884/193418261-880ae8b2-75bf-4ee5-a707-72404a92637c.png) ## Server code: ![image](https://user-images.githubusercontent.com/79153884/193418299-f9e63c37-e4a3-4ecb-a32a-ae76b1103c33.png) ![image](https://user-images.githubusercontent.com/79153884/193418312-331223ad-8c15-43e9-ba5f-0d46b8617b38.png) Opening the...

This is a work in progress to implement support for automatically parsing and serialising arbitrary JSON into the Google well-known types around https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct and https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#value. Changes made to make this...

I currently have a project defining some common message types called `common_proto` and it is installed using git with pip into another project as a package. Inside the package, the...

enhancement

### Summary module 'google.protobuf' has no attribute 'Any' ### Reproduction Steps I encountered a problem while creating a protobuf through our plugin AttributeError: module 'google.protobuf' has no attribute 'Any' python:3.12.1...

bug
investigation needed

## Summary ## Checklist - [x] If code changes were made then they have been tested. - [x] I have updated the documentation to reflect the changes. - [ ]...

First off, thank you for this tool, I was barely able to work with the Python code that protoc generates by default. I believe that for my usecase, the `grpclib`...

enhancement

### Summary Title ### Reproduction Steps This protofile works: ```proto3 // proto/test.proto syntax = "proto3"; package p; service Service { rpc Method(Empty) returns (Empty) {} } message Empty {} ```...

bug
investigation needed

### Summary Incompatible type error on generated unary-unary handler code. ### Reproduction Steps Write `reproduce.proto`: ```proto syntax = "proto3"; package reproduce; service X { rpc Y(Z) returns (Z) {} }...

bug
investigation needed

### Summary When calling deepcopy on a proto, the oneOf field state gets overwritten. ### Reproduction Steps 1. Create a simple proto with two one_of fields. 2. set the first...

bug