asyncio style refactoring

This commit is contained in:
2026-08-05 14:46:10 +03:00
parent 2da58c7483
commit 5ec033a21d
16 changed files with 280 additions and 237 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ app.include_router(router=protected_user_action_routes)
@app.get("")
def root()->dict:
async def root()->dict:
return {"root":"hello, this is root"}
@@ -33,4 +33,4 @@ def main():
uvicorn.run("main:app", reload=True)
if __name__=="__main__":
main()
main()