You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 stubgening.
What is the right way to do this then?
The text was updated successfully, but these errors were encountered:
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 typeAny
instead of the types the plugin infers. So I'm guessing the plugin is not used whenstubgen
ing.What is the right way to do this then?
The text was updated successfully, but these errors were encountered: