Fixed join_continuation's parameter type annotation#28
Conversation
30cb72a to
d0c7054
Compare
d0c7054 to
d061705
Compare
join_continuation
d061705 to
50292c1
Compare
Feel free to add a |
jaraco
left a comment
There was a problem hiding this comment.
It's clear to me that typing in Python requires its own expertise. Thanks for being that expert.
4fdd69a to
4c7ee6e
Compare
|
You're welcome ! Btw if you ever need help and I'm not available (or it's more obscure than I can manage), https://github.com/python/typeshed/#discussion lists a few community resources. There's also the Python Discord and Astral Discord's typing channels. Feel free to edit the test before merging. Also note that it's reliant on mypy config |
4c7ee6e to
80da994
Compare
join_continuationjoin_continuation's parameter type annotation
80da994 to
e01b1ae
Compare
This should solve a type issue with setuptools passing in a
map[str]by accounting for more possible overloads ofiter. Whilst also slightly simplifying type import.This is the failing usage in setuptools:
Normally I'd add a test with the above snippet to ensure it is caught statically (and that runtime matches the type expectation by not crashing), but I think this project uses docstring tests.