Put in order · Python course · Module 6: Async and FastAPI

FastAPI application lifecycle

Arrange the steps for creating a FastAPI application:

Items to put in order

  • uvicorn.run(app)
  • Define Pydantic model
  • app = FastAPI()
  • from fastapi import FastAPI
  • Create endpoint

You can check the correct answer by solving this task in the CodeWorlds game.