from fastapi import FastAPI app = FastAPI() @app.get("/") def root(): return {"message": "Hello World!"} @app.get("/user") def get_users(): return { "name": "almaz" }