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
The Queue expected by logging.handlers.QueueHandler() is a queue.Queue. It seems the multiprocessing.Queue class emulates that (i.e. duck typing). We might fix this by adding queue.Queue as the base class of multiprocessing.Queue in the stubs for multiprocessing. It should probably become a generic class then (since queue.Queue is generic). Do you want to attempt that as a PR for typeshed?
Returns the error:
tt.py:6: error: Argument 1 to "QueueHandler" has incompatible type "Queue"; expected Queue[Any]
The text was updated successfully, but these errors were encountered: