-
Notifications
You must be signed in to change notification settings - Fork 386
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
WIP Support asynchronous contents managers #1021
base: main
Are you sure you want to change the base?
Conversation
ca191d7
to
45fde60
Compare
45fde60
to
c5bdeed
Compare
@blink1073 thanks for your advices at jupyter-server/jupyter_server#1127 At this point (c5bdeed) I have been able to make the test pass on the contents manager (and, as you suggested, the tests are setup to test both the CM derived from the Now the problem I am facing is that I don't see how to contain the expansion of the (*): I tried this: |
593a4a9
to
47b95e2
Compare
In the end I've decided to write two functions: |
An experimental version with support for async contents manager is available with:
We will need to test it in various environments before releasing that (and also I'd be curious to identify the limits, i.e. what happens if we test it with an older version of Jupyter, etc) |
956ddad
to
3082362
Compare
I see at least two issues on the CI:
Advice is welcome! |
|
Thanks @blink1073 ! Oh yes I see then requiring Re the necessity to explicitly add the
which is not compatible with an |
You can use |
Ideally though, the Jupytext class would be async as well. |
@mwouts Is there anything that would help you with this? |
Thank you @LoicGrobol for offering your help! Well this was a while ago, so I will need to look into it to answer more precisely. I think I wanted to identify what version of Jupyter would be required if we were to make Jupytext's content manager fully async. Also I was seeing a huge impact on the tests, probably because I was/am not aware of the best way to test async method, so I could use a few pointers there. Also we will have to redo that PR from scratch, but maybe only when the test reorganization is over (one of the currently opened PR). |
Ok I'll have a look into these points then :) |
2243ba6
to
6875c84
Compare
Hi @LoicGrobol , I have done a quick rebase of this branch, so that in the future we can experiment with it. |
May fix #1020