From f0f52f0c6180c4cf268d349267e3f37704e4fc6f Mon Sep 17 00:00:00 2001 From: Yerassyl Zhanymkanov Date: Fri, 26 Aug 2022 01:45:39 +0600 Subject: [PATCH] Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a1ab76..a15fee8 100644 --- a/README.md +++ b/README.md @@ -783,8 +783,8 @@ class Profile(BaseModel): return data ``` ### 22. pre if data need to be pre-handled before validation -### 23. you can just raise a ValueError in pydantic schemas, if schemas faces http client -it wil return a nice response +### 23. you can just raise a ValueError in pydantic schemas, if schemas face http client +it wil return a detailed response of the failed fields ### 24. don't forget that fastapi converts response Model to Dict then to Model then to JSON it may lead to bugs like model can parse only raw data (e.g. forced data aggregation for raw data) ### 25. if must use sdk, but it's not async, use threadpools