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
Thanks for sharing this fantastic project. I am just starting to work on calling .NET dlls from Python and hoping that PyStubbler will make things substantially easier. I am just trying to wrap my head around the type hinting part of the stubs. I see that the class names are given everywhere, but they are not namespaced, so PyCharm / mypy can't resolve the actual types. Auto-completion works, mostly, but not the type hinting. Am I doing something wrong or is this just how it works? If so, is there any plan to further develop this aspect of the project? If not, maybe it would be better to type them as typing.Any so that we can at least run mypy etc. and just have it not type check those classes?
The text was updated successfully, but these errors were encountered:
Thanks for sharing this fantastic project. I am just starting to work on calling .NET dlls from Python and hoping that PyStubbler will make things substantially easier. I am just trying to wrap my head around the type hinting part of the stubs. I see that the class names are given everywhere, but they are not namespaced, so PyCharm / mypy can't resolve the actual types. Auto-completion works, mostly, but not the type hinting. Am I doing something wrong or is this just how it works? If so, is there any plan to further develop this aspect of the project? If not, maybe it would be better to type them as typing.Any so that we can at least run mypy etc. and just have it not type check those classes?
The text was updated successfully, but these errors were encountered: