Learn Before
Code
FastAPI Tutorial
Create a file named main.py. A simple FastAPI instance:
from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"}
To run the instance:
uvicorn main:app --reload
0
1
Updated 2021-03-29
Tags
Python Programming Language
Data Science