Closed laurencejackson closed 1 year ago
This is a bottleneck when datasets are large, should be able to parallelise.
See here for example of async requests. https://medium.com/swlh/parallel-asynchronous-api-call-in-python-f6aa663206c6
See here for example for how to share sessions across workers with JSESSION https://xnat.readthedocs.io/en/latest/static/tutorial.html#re-using-xnat-jsession
resolved by #121
This is a bottleneck when datasets are large, should be able to parallelise.
See here for example of async requests. https://medium.com/swlh/parallel-asynchronous-api-call-in-python-f6aa663206c6
See here for example for how to share sessions across workers with JSESSION https://xnat.readthedocs.io/en/latest/static/tutorial.html#re-using-xnat-jsession