ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Python & FastAPI - Annotated Type for Data Validation + Metadata!

Python

FastAPI

Автор: BugBytes

Загружено: 2024-01-31

Просмотров: 16404

Описание: In this video, we'll explore the Annotated type in Python, and how it can be used to add metadata to an existing type.

Custom logic can then process that metadata and perform actions based on the values used!

We'll see how Annotated is used in FastAPI with the Query, Path, Header and Cookie parameters to handler functions, and will dive deeper into the internals of the typing module to see how we can extract and process the metadata passed to Annotated.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
00:59 typing.Annotated - Annotated type in python
04:41 FastAPI annotations with Query and Path object
12:35 Typing module internals
19:07 Creating Decorator for annotation checks

▶️ Full Playlist:    • FastAPI Fundamentals - Introduction to API...  

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Python Typing: https://docs.python.org/3/library/typ...
Annotated: https://docs.python.org/3/library/typ...
FastAPI Query Parameter Annotations: https://fastapi.tiangolo.com/tutorial...
StackOverflow answer: https://stackoverflow.com/questions/6...

#python #fastapi #webdevelopment

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Python & FastAPI - Annotated Type for Data Validation + Metadata!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]