-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retuning an instance of the class being defined which provides an interface is not handled #39
Comments
I think the actual issue is that |
Yes, mypy-zope doesn't know anything about |
Heh… I had to ask @glyph about this also. |
Super happy to be getting real typing via |
Right, but So, even though |
Thanks! I'm glad mypy exists and it was possible to marry zope with it. Interfaces become so much more meaningful with it! :) |
In twisted/klein#471, I'm running into the following error in CI:
The code in question is:
So here, we return a
RequestURL
, which is declared as a provider ofIDependencyInjector
, so I think the above error is incorrect.I'm guessing this is due to the fact that the definition of
RequestURL
isn't complete yet?The text was updated successfully, but these errors were encountered: