Giter Site home page Giter Site logo

Typeshed about grpc-stubs HOT 9 OPEN

shabbyrobe avatar shabbyrobe commented on July 19, 2024 1
Typeshed

from grpc-stubs.

Comments (9)

shabbyrobe avatar shabbyrobe commented on July 19, 2024 1

I've reached out in the typeshed repo. Let's see if it's something they'd consider.

from grpc-stubs.

shabbyrobe avatar shabbyrobe commented on July 19, 2024

Hi snallapa, thanks for your interest! I had originally thought I would try to submit back to typeshed, but IIRC I read somewhere that they weren't adding more third party stuff any more and that stub packages like this were the way forward. I can't remember where I read that though, and my memory may not serve me correctly as it was some time ago now.

I'd be happy to try to submit if there was a chance it would be accepted.

from grpc-stubs.

snallapa avatar snallapa commented on July 19, 2024

I think they are taking PR for third party libraries now! I actually just added types for a library python/typeshed#3845 and they are usually pretty quick to respond. Hopefully, I did not misread any of their information or misunderstand something but lmk if I did. It would be great to have this included in typeshed

from grpc-stubs.

shabbyrobe avatar shabbyrobe commented on July 19, 2024

That's good to know! One of my concerns is that there doesn't appear to be any testing of the stubs in typeshed. The typed-django folks reached out to me to suggest I use their mypy testing plugin and it worked really well, I intended to use it more and more as I add updates. I'm slightly worried moving this to typeshed would mean that I have to remove that testing, which would make updating the stubs riskier. What are your thoughts?

from grpc-stubs.

snallapa avatar snallapa commented on July 19, 2024

That is not something I really considered! I think it might be worth adding an issue on typeshed and talking to them about it as they can probably add their thoughts or maybe already have a solution?

from grpc-stubs.

r-kells avatar r-kells commented on July 19, 2024

Interested in being a part of this too. It looks like typeshed would expose these stubs to a lot more users!

from grpc-stubs.

jenstroeger avatar jenstroeger commented on July 19, 2024

I think it’d be worthwhile moving this to Typeshed Stubs , unless Google is willing to integrate it into the official Python grpc packages.

from grpc-stubs.

hauntsaninja avatar hauntsaninja commented on July 19, 2024

so that it is automatically included in mypy

Note that typeshed stubs for third party packages are not automatically included with mypy (at least, not in the last couple years). However, it is true that typeshed stubs are relatively more discoverable.

from grpc-stubs.

shabbyrobe avatar shabbyrobe commented on July 19, 2024

I've opened the PR: python/typeshed#11204

from grpc-stubs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.