mypy-protobuf
mypy-protobuf copied to clipboard
open source tools to generate mypy stubs from protobufs
Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.10.0. Changelog Sourced from mypy's changelog. Mypy Release Notes Next release Mypy 1.10 We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy...
Bumps [pyright](https://github.com/Microsoft/pyright/tree/HEAD/packages/pyright) from 1.1.333 to 1.1.360. Release notes Sourced from pyright's releases. Published 1.1.360 Enhancements: Added support for @deprecation messages for decorators that wrap a function in a callable object....
I am writing async code. The proto file is like these: ```proto service Continuum{ rpc Tick(TickRequest) returns (HistoryResult); } ``` The pyi file is partially like these: ```python class ContinuumStub:...
Given this proto: ``` enum Enum { UNKNOWN=0; KNOWN=1; } message WithOneOfs { oneof optional_enum { Enum some_enum = 1; } } ``` The constructor looks something like this: ```...
Bumps [types-protobuf](https://github.com/python/typeshed) from 4.24.0.20240311 to 5.26.0.20240422. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Optional field are well manage in constructor but not in the class field declaration. I think it"s a quick fix to do in writeMessage as I can see but not...
Bumps [grpcio-tools](https://github.com/grpc/grpc) from 1.62.1 to 1.62.2. Release notes Sourced from grpcio-tools's releases. Release v1.62.2 This is release gRPC Core 1.62.2 (guardian). For gRPC documentation, see grpc.io. For previous releases, see...
Bumps [grpc-stubs](https://github.com/shabbyrobe/grpc-stubs) from 1.53.0.2 to 1.53.0.5. Commits c8d7bc6 Release 1.53.0.5 4f71406 Release 1.53.0.4 32ba796 Merge pull request #52 from macro1/aio-import 6d38b08 1.53.0.4 c43e9f1 Add type test for grpc.aio import 62d6109...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 4.25.3 to 5.26.1. Commits 2434ef2 Updating version.json and repo version numbers to: 26.1 49253b1 Merge pull request #16308 from protocolbuffers/cp-26x-3 9bf69ec Fix validateFeatures to be called after...
I'm working on our codebase to apply mypy-protobuf to generate pyi code. However, we have codes like: ``` from google.protobuf import json_format from google.protobuf.reflection import GeneratedProtocolMessageType def convert_model_to_pb( config: Config,...