ITC-CRIB / jupyter-fairly

A JupyterLab extension for seamless integration of Jupyter-based research environments and research data repositories.
https://fairly.readthedocs.io
MIT License
8 stars 3 forks source link

Feature/async calls #27

Closed jurra closed 2 years ago

jurra commented 2 years ago

Hi @girgink and @manuGil. We have some async upload already working, still this needs to be integrated in the main classes and some refactoring is going on but this can be merged already for you to get the latest developments.

I will keep working on this branch, as there is still work to do on the interfaces implementation using asynchronous calls.

jurra commented 2 years ago

I got to succesfully upload files asyncronously, but there are some problems to still deal with:

  1. The timeout for client session by default is 5 mins, for example for a file of more than 100MB this can be not enough, it will crash and stop the upload process. The problem is we dont know how long is going to take to upload a full file for example.
  2. The complete upload step is throwing a 403 error, but I am still able to see a file uploaded when I consult the article created using the web interface of figshare.