Motov Yurii
Motov Yurii
@emrhnsyts, thanks for contributing to FastAPI! The original document has been changed, and now this PR needs to be updated. Would you like to work on it?
As part of our recent decision to move to an automated translation process π€, weβre no longer accepting community-submitted translation PRs. Iβll go ahead and close this PR. You can...
The question is outdated. Currently project uses SQLModel
@maxclaey, thank you for your interest and efforts! Could you please resolve the merge conflict?
@galain1994, ``` current_user: Annotated[CurrentUser, Query], ``` should help in your case. Previously, FastAPI failed to correctly determine if the type of parameter is scalar or not if the type used...
Alternative solution: #11508
For now the `ValidationError` schema is: It doesn't include any of these fields (just for completeness, `ctx` field is also missed in schema). IMO, this should definitely be fixed for...
It's already possible to exclude `input` field from the error response by setting the exception handler for `RequestValidationError`. Adding `url` field is not trivial task, but I think this is...
> What do you think about FastAPI dynamically using the attribute of the schema parameter defined within the pydantic model https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.hide_input_in_errors, then we could make it transparent to FastAPI and...