Тёмный

Pydantic - Nested Models, JSON Schema and Auto-Generating Models with datamodel-code-generator 

BugBytes
Подписаться 31 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

24 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@silkogelman
@silkogelman Год назад
Thanks for another great Pydantic tutorial Lyle! 🙏😀 Great tip about possible undesired conversion behaviour at 8:38 and the order of union types. I'm looking forward to the next one.
@bugbytes3923
@bugbytes3923 Год назад
Thank you Sil! Glad that tip was useful.
@robertmcdonnell2807
@robertmcdonnell2807 27 дней назад
Fantastic thanks for this great content
@bugbytes3923
@bugbytes3923 23 дня назад
No worries, thanks for watching and commenting!
@zeinabmeftah
@zeinabmeftah Год назад
Great Lesson Thanx the typing.Literal tip was very helpful for me .
@bugbytes3923
@bugbytes3923 Год назад
No problem, and thank you for watching!
@mrrobinhood5
@mrrobinhood5 Год назад
How do you not have more views?! This is great content
@bugbytes3923
@bugbytes3923 Год назад
Thanks a lot, glad to hear that! Thanks for watching.
@MdHasan-kh4dq
@MdHasan-kh4dq 8 месяцев назад
This is the best explanation. Your tutorial is very helpful for me to understand the topic clearly. I would love to watch a series of FastAPI with Pydantic from you.
@bugbytes3923
@bugbytes3923 8 месяцев назад
Thanks a lot! I have started creating such a playlist on FastAPI and Pydantic here: ru-vid.com/group/PL-2EBeDYMIbQghmnb865lpdmYyWU3I5F1
@seydinaoumarsamabaly1806
@seydinaoumarsamabaly1806 Год назад
Thank you for the effort and just thank you mate 🙌🏾 great tutorial again as usual !
@bugbytes3923
@bugbytes3923 Год назад
Thank you mate!
@JustinSpryce
@JustinSpryce Год назад
Great lesson
@bugbytes3923
@bugbytes3923 Год назад
Thank you Justin!
@mohammedbahnasy9870
@mohammedbahnasy9870 6 месяцев назад
Thank you very much ❤❤
@bugbytes3923
@bugbytes3923 6 месяцев назад
Thanks a lot for watching!
@vivaldi-qo7xj
@vivaldi-qo7xj Год назад
thnx
@bugbytes3923
@bugbytes3923 Год назад
You're welcome, thank you for watching.
@ShawnMorel
@ShawnMorel 8 месяцев назад
FYI `schema_json` is deprecated in pydantic v2 and replaced with `model_json_schema`
@bugbytes3923
@bugbytes3923 8 месяцев назад
Thanks for sharing! Need to update these now that v2 is out.
@DreamsAPI
@DreamsAPI Год назад
Hi Cool video, can you share the link to the video for the third video in this series? Thank you for making them.
@DreamsAPI
@DreamsAPI Год назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z0a0Vjd992I.html&ab_channel=BugBytes
@bugbytes3923
@bugbytes3923 Год назад
Thanks very much! The link for the next video is: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z0a0Vjd992I.html
@DreamsAPI
@DreamsAPI Год назад
@@bugbytes3923 Gracias
@dmitrymikhailovnicepianomu8688
Unbelievable
@bugbytes3923
@bugbytes3923 Год назад
Cheers!
@malteplath
@malteplath 9 месяцев назад
5:40 - please don't assign a list (or any mutable type) as a default value. Even if Pydantic probably handles this gracefully, it is a trap for users of the class if they construct Student objects and use append to build the list of modules. Use the field helper class instead.
@bugbytes3923
@bugbytes3923 9 месяцев назад
Non-hashable values can safely be used in Pydantic as defaults: docs.pydantic.dev/latest/concepts/models/#fields-with-non-hashable-default-values
Далее
Истории с сестрой (Сборник)
38:16
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
Modern Python logging
21:32
Просмотров 187 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 806 тыс.
Intro to Pydantic V1
1:15:31
Просмотров 18 тыс.
Let's Fix The Fatal Flaw in TypeScript's Union Types!
13:45