(venv) root@cv3549789:~/h# python main.py
Traceback (most recent call last):
File "/root/h/main.py", line 132, in <module>
app = FastAPI(on_startup=start_task_executor())
File "/root/h/main.py", line 32, in start_task_executor
loop = asyncio.get_running_loop()
RuntimeError: no running event loop
(venv) root@cv3549789:~/h#
[0] 0:python* "cv3549789.nov
Хелпаните
Traceback (most recent call last):
File "/root/h/main.py", line 132, in <module>
app = FastAPI(on_startup=start_task_executor())
File "/root/h/main.py", line 32, in start_task_executor
loop = asyncio.get_running_loop()
RuntimeError: no running event loop
(venv) root@cv3549789:~/h#
[0] 0:python* "cv3549789.nov
Хелпаните