Comments (4)
What's the solution here? Does the aio py.typed file need to provide types for every symbol?
from grpc-stubs.
Yes, a possible solution could be a separate versioning for the package, until aio is fully implemented. For example with postfix Alpha.
Also the current version of the package does not match the semver
from grpc-stubs.
Yes, a possible solution could be a separate versioning for the package, until aio is fully implemented. For example with postfix Alpha
Thanks. I think I'll see if I can fill in the blanks in the aio now lib now, and if that's too hard I'll pull it back out into a a PR.
Also the current version of the package does not match the semver
Are you referring to the four segments? If so, that is intentional. The first three segments will track with the upstream grpc library (soon to be updated as I have recently brought the non-aio stubs up to speed) and the fourth will track the typing version within that.
The next version, regardless of which way I end up going with aio, will be 1.53.0.1.
from grpc-stubs.
I have a PR here that adds the missing types: #36. It works with your MRE. Thank you for providing it, it made it much easier to deal with the issue.
I'll release it shortly. Please let me know if it causes you issues.
from grpc-stubs.
Related Issues (20)
- Consider using pytest-mypy-plugins HOT 13
- Publish new version HOT 1
- Distribution doesn't include py.typed files. HOT 2
- 1.24 updates
- No stubs for `aio` HOT 9
- No stubs for client stubs? HOT 5
- can mypy be optional dependency? HOT 2
- Typing of HealthServicer.set HOT 6
- Missing grpc StatusCode HOT 1
- pypi version 1.53.0.1 HOT 1
- enable_server_reflection should allow aio server instances
- Typeshed HOT 9
- The object returned from `UnaryStreamMultiCallable` and `StreamStreamMultiCallable` should also be a `Future` HOT 2
- Wrong type hints for continuation in streaming interceptors HOT 1
- intercept_stream_stream in grpc.aio incorrectly marked as a coroutine HOT 2
- `ServerInterceptor.intercept_service` return type doesn't match continuation return type HOT 2
- Type hints for abstract base classes are missing `abc.ABC`
- `CallIterator` is missing `__next__` method
- Argument `grace` of Server.stop() should be Optional[float] HOT 1
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 grpc-stubs.