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
Returns a named 2-tuple of sets. The first set, named done, contains the futures that completed (finished or cancelled futures) before the wait completed. The second set, named not_done, contains the futures that did not complete (pending or running futures).
Currently, the type of
concurrent.futures.wait
in typeshed is as follows:According to Python's documentation:
So the type should really be:
(the name of the NamedTuple is taken from CPython's implementation of
concurrent.futures
)Unfortunately, generic NamedTuples are not currently supported by mypy, so that change would break the tests.
The text was updated successfully, but these errors were encountered: