iiasa / ixmp4

A data warehouse for high-powered scenario analysis in the domain of integrated assessment of climate change and energy systems modeling
https://docs.ece.iiasa.ac.at/ixmp4
MIT License
11 stars 6 forks source link

Fix Request dispatching #87

Closed meksor closed 6 months ago

meksor commented 6 months ago

76 Introduced a problem for programs who themselves are running within something like an asyncio.run call.

Since this is the case for any jupyter notebook this is not very convenient. I switched the approach to use a ThreadPoolExecutor instead and it seems to work, please verify @danielhuppmann.

meksor commented 6 months ago

Tests failing b/c of manager database outage...

danielhuppmann commented 6 months ago

Thanks @meksor - works for me in a Jupyter notebook now (also with requesting all data from ssp-extensions, 1.5m rows), but two tests are failing because of shut-down future...

meksor commented 6 months ago

fixed!