henribru / googleapis-common-protos-stubs Goto Github PK
View Code? Open in Web Editor NEWType stubs for googleapis-common-protos
Home Page: https://pypi.org/project/googleapis-common-protos-stubs/
License: Apache License 2.0
Type stubs for googleapis-common-protos
Home Page: https://pypi.org/project/googleapis-common-protos-stubs/
License: Apache License 2.0
The README in this project reads:
Note that if you're using Mypy you need to use the --namespace-packages option as google and some of its subpackages are namespace packages.
I wanted to bring up that the warning above may have to be updated somehow given that googleapis-common-protos v1.62.0 has been migrated to native namespace packages. Related issue: googleapis/python-api-common-protos#187.
For me this change caused this error when running mypy after the upgrade:
error: Module "google.rpc" has no attribute "code_pb2" [attr-defined]
I had to make this change to fix it:
[tool.mypy]
-namespace_packages = true
+namespace_packages = false
Thank you for this project, @henribru!
Will need to advice people to use --namespace-packages
for Mypy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.