Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Type hint for check_multiprocess_shutdown_event is confusing for mypy #247

Open
doc-sheet opened this issue Jul 31, 2024 · 0 comments
Open

Comments

@doc-sheet
Copy link

Hi!
For now type hint for shutdown_event is multiprocessing.synchronize.Event

I guess it should be threading.Event instead: simple way to create and pass such event is multiprocessing.Manager().Event() and that's just a threading.Event clone.

references:

  1. multiprocessing.managers.SyncManager.Event
  2. multiprocessing.Event
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant