Giter Club home page Giter Club logo

Comments (5)

nipunn1313 avatar nipunn1313 commented on August 22, 2024

Hi @selimyoussry.

Thanks for the report. I'm looking into it.

from mypy-protobuf.

nipunn1313 avatar nipunn1313 commented on August 22, 2024

Hm, this is a great find.

These stubs are intended to be in typeshed, but we overlooked this dependency when open sourcing this. At Dropbox, we had a fork of this pull request sitting in our repo at mypy/

Here's the outstanding pull request to add this to typeshed.
python/typeshed#1718

I'll work on making sure this gets through, and update the type to rely on variant in typeshed

from mypy-protobuf.

nipunn1313 avatar nipunn1313 commented on August 22, 2024

I updated python/typeshed#1718, so I'm just waiting on that to come through. Then I'll update the generated code here to reference it.

As a shorter term workaround (if you need something sooner), you can grab the containers.pyi from that pull request and drop it in a mypy/ package.

from mypy-protobuf.

nipunn1313 avatar nipunn1313 commented on August 22, 2024

Ok @selimyoussry - I've gotten the upstream fix into typeshed, and punched in the fix here. Let me know if there are any further issues!

Again, thanks for the report!

from mypy-protobuf.

selimyoussry avatar selimyoussry commented on August 22, 2024

Thanks @nipunn1313 it seems to work now!

from mypy-protobuf.

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.