mypy-protobuf
mypy-protobuf copied to clipboard
update to support protobuf editions
edition = "2023";
message TestContract {
string id = 1;
string name_of_person = 2;
int32 age = 3;
}
using the contract above i get this warning:
test_contracts.proto: is an editions file, but code generator protoc-gen-mypy hasn't been updated to support editions yet. Please ask the owner of this code generator to add support or switch back to proto2/proto3.
Editions seems like the go forward for protobuf and mypy is certainly the go forward for python. Any chance this tooling can be updated to support it?
+1 on this. Editions are the future of Protobuf, will be very helpful to have this for strong types.
yep seems reasonable! I've definitely been a bit behind in doing updates.
Let me catch some time in between things at my startup. Bear with me.
Thank you — as a note, I was able to get up and running with the official protocolbuffers/pyi package. They may have a reference implementation
Hello @nipunn1313 ! Any update on that ? Thanks :)
Hi, any updates on this? Thanks for the great library!