FastAPI 0.155.0

0.155.0
Changed 1
  • Unknown keyword arguments passed to Path, Query, Header, Cookie, Body, Form, and File now raise TypeError.
Removed 1

1 change to check, marked in the notes below

From FastAPI

The deprecated **extra keyword arguments have been removed from Path, Query, Header, Cookie, Body, Form, and File. Unknown keyword arguments now raise TypeError. For additional JSON Schema properties, replace, for example, Query(custom="value") with Query(json_schema_extra={"custom": "value"}).

Breaking Changes
  • 🔥 Remove deprecated **extra from request parameters. PR #16545 by @tiangolo. removed · vendor-flagged
View original

Upgraded? How did it go?

Discussion