from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"hello":"world","service":"demo_api"}