This PR brings learnings from this article:
Run concurrent asyncio awaitables without overloading the event loop. Tasks are created on the fly and based on need and are limited in number.
driving test: test_utils.py in servicelib.
Bonus:
mypy script now uses uv
fixed dynamic-sidecar new mypy issue by ignoring it @GitHK
NOTE: I will not move that to async_utils.py yet to reduce noise.
What do these changes do?
Reduced size of https://github.com/ITISFoundation/osparc-simcore/pull/5981
This PR brings learnings from this article: Run concurrent asyncio awaitables without overloading the event loop. Tasks are created on the fly and based on need and are limited in number.
driving test: test_utils.py in servicelib.
Bonus:
NOTE: I will not move that to async_utils.py yet to reduce noise.
Related issue/s
How to test
Dev-ops checklist