Comments (3)
Sounds like a great idea!
from mypy-protobuf.
Thanks @nipunn1313! I’ve not looked through the code yet but do you prefer a PR contribution or is that a change you’ll make yourself?
from mypy-protobuf.
I would take a contribution!
Otherwise, I'd probably get around to it around christmastime. I like the idea as you've spec'd it.
The repo has tests (./run_tests.sh
) with some existing generated files (eg https://github.com/nipunn1313/mypy-protobuf/blob/main/test/generated/testproto/test3_pb2.pyi) - so should be doable to update and review.
Change would likely go somewhere here https://github.com/nipunn1313/mypy-protobuf/blob/main/mypy_protobuf/main.py#L36
from mypy-protobuf.
Related Issues (20)
- flake8-noqa reports unused `noqa` comments in generated protobuf stubs HOT 3
- Library stubs not installed for "google.protobuf.service_reflection" HOT 4
- my-protobuf-3.4.0 breaks backward compatibility by silently upgrading to protobuf-4 HOT 10
- No module named mypy_protobuf HOT 8
- Not generating .py files from protouf file using this plugin HOT 1
- Question: why not use Python’s Enum HOT 11
- Get generated code to be black-compatible for readability
- Compatibility with flake8-pyi>=23.5.0 HOT 1
- timeout should be float HOT 2
- Release version on pypi is to low! HOT 2
- A better way to annotation the AsyncStub HOT 9
- Document the experience on configuring properly with Visual Studio Code HOT 1
- Fix github actions warnings
- Add error code to bare type ignore
- Ignoring field names equal to reserved keywords like "from" HOT 1
- Manage optional field in Message body HOT 1
- OneOf fields not typed as optional in constructor HOT 3
- Add metaclass=GeneratedProtocolMessageType to protobuf message class HOT 3
- `google.protobuf.any_pb2.global__Any` is not marked as `TypeAlias` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mypy-protobuf.