Trying to download expression data with the new async functionality in a Jupyter Notebook results in the following error:
RuntimeError: This event loop is already running
From doing a bit of research it seems that the problem is that notebooks also use the async loop and the functionality can't be nested. The current workaround is to use the package nest_asyncio and add the following before downloading expressions:
import nest_asyncio
nest_asyncio.apply()
When time allowed we should probably look more into it and see if there is a permanent fix for this.