This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| class DummyAPI: | |
| async def get(self, number): | |
| print(f"GET {number} executed") | |
| await asyncio.sleep(number) | |
| return number, "a" | |
| async def context_switched_get(self): | |
| dispatch_list = [] |