You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some environments, e.g. notebooks, spin up an asyncio runtime for you. Right now, this leads to breakages if you try to use stac_asset.blocking.* functions, since we use asyncio.run. We should update the blocking functions to use an existing runtime if possible, and only fall back to asyncio.run if need be.
Fixing this feels out-of-scope, so we should just document the usage of nest_asyncio.
The text was updated successfully, but these errors were encountered:
gadomski
changed the title
Allow blocking requests when asyncio is running
Document how to allow blocking requests when asyncio is running
Sep 22, 2023
Some environments, e.g. notebooks, spin up an
asyncio
runtime for you. Right now, this leads to breakages if you try to usestac_asset.blocking.*
functions, since we useasyncio.run
.We should update the blocking functions to use an existing runtime if possible, and only fall back toasyncio.run
if need be.Fixing this feels out-of-scope, so we should just document the usage of nest_asyncio.
The text was updated successfully, but these errors were encountered: