asda?‰PNG  IHDR ? f ??C1 sRGB ??é gAMA ±? üa pHYs ? ??o¨d GIDATx^íüL”÷e÷Y?a?("Bh?_ò???¢§?q5k?*:t0A-o??¥]VkJ¢M??f?±8\k2íll£1]q?ù???T a bYhM@sBdZddlmZddlmZddlmZddddZd d ZdS) )run) coroutines)events)tasksN)debugcCsVtdurtdt|s,td|t}zt||durR| || |Wz:t || | | | Wtd|Std|0Sz:t || | | | Wtd|ntd|0nRz:t || | | | Wtd|ntd|00dS)aExecute the coroutine and return the result. This function runs the passed coroutine, taking care of managing the asyncio event loop and finalizing asynchronous generators. This function cannot be called when another asyncio event loop is running in the same thread. If debug is True, the event loop will be run in debug mode. This function always creates a new event loop and closes it at the end. It should be used as a main entry point for asyncio programs, and should ideally only be called once. Example: async def main(): await asyncio.sleep(1) print('hello') asyncio.run(main()) Nz8asyncio.run() cannot be called from a running event loopz"a coroutine was expected, got {!r})rZ_get_running_loop RuntimeErrorrZ iscoroutine ValueErrorformatZnew_event_loopZset_event_loopZ set_debugrun_until_complete_cancel_all_tasksZshutdown_asyncgensZshutdown_default_executorclose)mainrloopr+/usr/local/lib/python3.9/asyncio/runners.pyrsJ             rcCsvt|}|sdS|D] }|q|tj||dd|D]0}|rNq@|dur@|d||dq@dS)NT)rZreturn_exceptionsz1unhandled exception during asyncio.run() shutdown)message exceptiontask)rZ all_taskscancelr Z_gather cancelledrZcall_exception_handler)rZ to_cancelrrrrr 7s"   r )__all__rrrrr rrrrs    /