Debian Codegraph @

docs_src/first_steps/tutorial001_py310.py

raw
1 from fastapi import FastAPI
2
3 app = FastAPI()
4
5
6 @app.get("/")
7 async def root():
8 return {"message": "Hello World"}