Skip to content

Big update 1.0.0.0 !

Compare
Choose a tag to compare
@dotX12 dotX12 released this 23 Aug 12:55
· 60 commits to master since this release
77ab467

UPD 03.09.2022: Please update to 1.0.1.0!


  • The decorator above the model is no longer required and will be removed in the next version!
  • New syntax:
data: MyCustomModel = PyFaDepends(MyCustomModel, _type=Header)
data: MyCustomModel = PyFaDepends(MyCustomModel, _type=Form)

data: MyCustomModel = FormDepends(MyCustomModel)
data: MyCustomModel = QueryDepends(MyCustomModel)
  • Added support for parameters specific only to FastAPI types in Pydantic Field. Example -
    Field(None, convert_underscores=True)