enhancementhelp wantednew-contributor-friendly
Repository metrics
- Stars
- (5,381 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
This part of code is absolutely not thread-safe: https://github.com/nteract/papermill/blob/68580f79fd7cc037dd3908343e3a070c3140395b/papermill/execute.py#L91-L105
Why don't you use cwd parameter in nbclient.client.execute or at least copy this function?
https://github.com/jupyter/nbclient/blob/8d5fc8caa0b27b308760e5a350369720c03efc8b/nbclient/client.py#L730-L750