Skip to content

Helpers

FastAPI

on_model

To parse input raw data into your pydantic model, you can use on_model helper with a Depends function from FastAPI.

An example of the on_model helper usage you can find in the start tutorial here.