Comments (2)
Sorry for the slow reply, I hadn't enabled notifications for new issues.
Unless Mypy also complains about these imports (please check this), I suspect this is actually a bug in PyCharm. The package includes a py.typed
file with the word "partial" in it, which PEP561 defines as a way of specifying that a stub package doesn't contain full type annotations. It sounds like PyCharm is ignoring this and expecting my stubs to cover all packages under google
, so when they don't, it thinks ads
is the only thing it contains. I suggest you send a bug report to JetBrains about this. I can do so myself instead if you prefer, but I can't promise it will happen this weekend.
On an unrelated note, sorry that there haven't been any updates to the package, I've been very busy. I'm working on it though.
from google-ads-stubs.
That makes perfect sense. I did notice the partial
and then thought wtf, thats probably for this exact thing.
I'll def check with PyCharm. They seem to be painfully slow with many typing features.
Thanks again for the reply, this package has been extremely helpful!
from google-ads-stubs.
Related Issues (8)
- Remove __init__.pyis in packages and move py.typed into actual packages
- Support versions past v9
- Incompatibility with PyCharm / VSC Pylance HOT 2
- Issues using stubs HOT 3
- Best way to collaborate with the repo HOT 1
- Generate custom annotations for __contains__
- feature request: Support for v16 of Google API
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 google-ads-stubs.