dropbox / dropbox/sqlalchemy-stubs
Generate stub with the right annotations
- Dominant language
- Python
- Stars
- 583
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have a small problem, my models and the app using them are in different packages. Mypy detects errors in the package with my models, but does not detect errors when those models are used from the app.
So my first guess is that, for some reason, the plugin does not work in a package different from the one where the models are declared. Therefore, I tried to `stubgen` the package, but the result is that each column has a type `Any` instead of the types the plugin infers. So I'm guessing the plugin is not used when `stubgen`ing.
What is the right way to do this then?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.