Question · Python course · Module 6: Async and FastAPI

BaseModel

Which class does a Pydantic model inherit from?

Answer options

  • DataModel
  • Model
  • BaseModel
  • Schema

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