The content in this video has been seen in an earlier video but is still worth discussing itself. When you’re building an API it may be useful to have descriptive models that are similar, but not used for the same things. For example, your BaseUser model may have a username, email, and date of birth and your UserInDB model may have all of these fields but also a `hashed_password` field. Your UserIn model may have a plain text password. Your UserOut model may have only the fields described in your BaseUser model.
In this video you’ll see a basic introduction about how to incorporate this sort of model inheritance.
GitHub:
1 view
20
7
2 months ago 00:19:34 1
3 HACKING gadgets you have to TRY!!
3 months ago 00:03:47 1
Autumn Leaves Are Falling Down | Fun Autumn Song for Kids| GetGiggly Nursery Rhymes and Kids Songs
3 months ago 00:08:43 1
ECKERLIN vs. JUNGWIRTH - Die Doku | Nur einer kann der König sein! | Der Weg zum Thron EP. 3
3 months ago 00:13:30 1
ECKERLIN vs. JUNGWIRTH: Face 2 Face | Das Doppel-Interview vor dem MEGA-Fight im Stadion
3 months ago 00:00:00 1
LIVE: Hurricane Helene strengthens, prompts evacuations in Florida
3 months ago 00:09:52 1
ECKERLIN vs. JUNGWIRTH - Die Doku | Der größte Kampf Deutschlands | Der Weg zum Thron EP. 2
3 months ago 00:04:43 1
PYTHON PROGRAMMERS!! We Automated What You Do on ChatGpt Everyday!
3 months ago 00:26:37 1
Biggest 3BHK on Dwarka Expressway flats a Bad Investment 2024?
3 months ago 00:01:53 1
Sofia Coppola on finding professional and personal fulfillment
3 months ago 00:12:31 1
why Commercial Property in Gurgaon? | Stop Investing in Dreams, Start Earning with Real Assets!
3 months ago 00:46:20 1
How Discord Became a Developer Platform
3 months ago 00:09:33 1
ECKERLIN vs. JUNGWIRTH: Doku zum Mega-Fight | Der Weg zum Thron EP. 1
4 months ago 00:15:15 1
Unerbittlicher Testkampf! Abschluss-Sparring für HAIFA & LAURA! | PROJEKT Y St. 2 Ep. 4
4 months ago 00:00:56 1
De Niro: I’d Like to Punch Trump In the Face
4 months ago 00:12:38 1
DULATOVs „großer Bruder“ & ENGIZEKs Trainingspartner im Duell mit MMA-Legende: Eskiev VS Buchinger
4 months ago 00:28:06 5
Настройка терминала для трейдинга ()
4 months ago 01:20:56 1
Spyro Gyra live | Leverkusener Jazztage 2022 | Jazzline
5 months ago 00:04:52 1
ESKIEV’s härteste Prüfung: Showdown mit OKTAGON-Legende in Oberhausen! | Spotlight Ep. 80
5 months ago 00:31:36 1
Laravel News Episode 220
5 months ago 00:05:17 1
Как задеплоить ML модель? - через Fast API и Docker
5 months ago 01:39:44 1
433. Chrome 127, reading-flow, Google и куки, Invoker Commands, Слёт TC39, TS в , Zed норм
5 months ago 00:02:02 1
Raw: Obamas Host Italy PM at Final State Dinner
5 months ago 00:02:40 1
Sanders: Clinton’s ’Friends’ Destroyed Economy
5 months ago 00:02:10 1
American-Israelis protest against Trump in Tel Aviv