Skip to content

Glossary: ML in Production

FastAPI

Also written: fastapi run, fastapi dev

The Python web framework used for the prediction service. `fastapi run` starts it, and `fastapi dev` restarts it on every save.

Where the book teaches it

Related terms

PydanticLifespan (FastAPI)Background task