Question: I don’t have the most experience with FastAPI in Python and I would like to know why this block of code just instantly stops after it is ran
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
If you could just explain why and leave a block of code for me underneath thanks!