from fastapi import FastAPI app = FastAPI() @app.get("/hello") def hello(name: str = ""): return {"message": f"Hello {name}"}