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

MAINT Move parallel_config / parallel_backend out of parallel.py #1435

Open
jeremiedbb opened this issue Apr 26, 2023 · 0 comments
Open

MAINT Move parallel_config / parallel_backend out of parallel.py #1435

jeremiedbb opened this issue Apr 26, 2023 · 0 comments

Comments

@jeremiedbb
Copy link
Contributor

jeremiedbb commented Apr 26, 2023

As discussed in #1392 (comment), the file parallel.py is getting quite long which hurts its readability. We could move the 2 context managers parallel_config and parallel_backend in a separate parallel_config.py file. It requires a little bit of gymnastic though to avoid cyclic imports :)

It would be a good opportunity to also improve the docstring of get_active_backend as discussed in #1392 (comment)

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