FastAPI Creating Models using Pydantic - Data Validation module
Автор: CoOoDE
Загружено: 2021-04-18
Просмотров: 12695
FastAPI Depends on 2 very important libraries, pydantic and starlette (or any asgi server layer) that makes it ultra fast. Pydantic is a simple to use Data Validation module that takes care of handling all the data that comes in via a request and makes sure it can be allowed.
In this video we use the pydantic to accept a POST request with body parameters and give out a response.
#pydantic #fastapi
Sections
0:00 - Intro
0:15 - Understanding Pydantic
1:00 - Creating the Model
3:00 - Creating the POST Request
6:00 - Handling the Request
9:00 - Default and Required Values with the Model
10:00 - Outro
◾◾◾◾◾
📸 Instagram: / codermonk_
🌎 Website https://androidmonks.com
📱 Twitter: / diputsc
📝 LinkedIn: / baradwaj-varadharajan-0a0a45a6
📂 GitHub: https://github.com/barathmonk
🖥️ Products I Use and Recommend
Everyday Planner - https://amzn.to/2RFpWCi
Fidget Spinner - https://amzn.to/3kCWIBs
⚙️ Tech I use
Acer 32 Inch Monitor- https://amzn.to/33CT5p0
Laptop - MacBook Pro 15 (Primary)
Dell XPS Windows Laptop(Secondary) - https://amzn.to/30GQN6k
📹 Filming Gears
Canon EOS R - https://amzn.to/2XKNzNb
Maono Au 400 - https://amzn.to/3gMH3gs
🤝 All products here are affiliate links and i make a small commision when you buy it through them. Do not worry, you will not be charged anything extra.
◾◾◾◾◾◾
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
Coder Monk
Coder Monk Flutter
Coder Monk Programming
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: