-
Notifications
You must be signed in to change notification settings - Fork 815
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
[typing] Inconsistent typing in the work decorator #3510
Comments
@rodrigogiraoserrao I'm assuming this is a quick fix? |
Depends. |
Ideally we can get them to agree. If not, Mypy. |
I was exploring a fix to the typing issues that then triggered new typing issues in other places of the codebase where the decorator Work on this surfaced a possible mypy bug. |
See this discussion about the usage of
Decorator
versusDecorator[..., ReturnType]
insrc/textual/_work_decorator.py
.EDIT: Last time I tackled this (and opened PR #3862) I ended up hitting what looked like a mypy issue but might as well just be something I didn't get right.
I did try to outsource the fix to Twitter and a Discord server but no one was able to help me.
Independently from me, PR #3937 does similar work that would also fix this issue.
The text was updated successfully, but these errors were encountered: