jupyter-drive icon indicating copy to clipboard operation
jupyter-drive copied to clipboard

Combine save and create checkpoint into a single function in Contents

Open KesterTong opened this issue 10 years ago • 1 comments

Right now, it's inconvenient to have save and create checkpoint be separate functions. This is because both functions are asynchronous, so our current implementation creates a race condition, and sometimes the previous save gets checkpointed.

This problem would be solved if we got rid of create_checkpoint and instead had a checkpoint option in save.

KesterTong avatar Jan 22 '15 15:01 KesterTong

Actually I think that there is no race in the code, the problem was the Drive bug. Still, this might be worth considering anyway.

KesterTong avatar Jan 27 '15 19:01 KesterTong