Skip to content
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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant