David Brochart
David Brochart
> 4\. How much of this should be deferred to Jupyverse if that is indeed the next-generation, multi-tenant, server? Jupyverse could definitely support this kind of use case. There is...
I have a use case with [Jupyverse](https://github.com/jupyter-server/jupyverse) and [JupySpace](https://github.com/davidbrochart/jupyspace). They are web servers based on [Asphalt-web](https://asphalt-web.readthedocs.io). JupySpace launches Jupyverse servers on demand, currently in a subprocess. But I'm thinking about...
I'm not sure Yrs has this functionality, @Horusiath ? Otherwise, we could implement it in Python. I guess it would have to support nested types.
Probably not much, do you want to try and open a PR?
Hmm right... Actually, isn't the `.to_py()` method what you are looking for?
Maybe we should implement `.to_py()` on `Xml` types?
Thanks @fperez for reporting. What would be really helpful for debugging is to have access to the `.jupyter_ystore.db` file that should be present by default in the directory where JupyterLab...
@fperez I'm not sure what you mean by "temporary storage", is it the [TempFileYStore](https://github.com/y-crdt/ypy-websocket/blob/6409366bb86e80e22a04e7b7933a5ce5dd84b77e/ypy_websocket/ystore.py#L131)? If yes, the ystore should not be deleted every time the server is restarted (it just...
> For normal operation, is preserving this file across server restarts necessary? @ryanlovett No, it's not necessary to preserve the YStore across server restarts. It's even better to delete it,...
Actually, you gave a pretty clear example leading to duplication [here](https://github.com/y-crdt/ypy-websocket/pull/58#issuecomment-1332527064). The problem arises when updates are squashed and a user reconnecting needs the missing updates.