Debian Codegraph @

docs_src/first_steps/tutorial003_py310.py

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