43:49 for anyone wondering, he changed the function parameters to be def get_item(name: str = Query(None, title="Name", description="Name of item.", max_length=10, min_length=2)):
The asterisk part just cracks me up. One of those things. Super great tutorial btw, thank you for taking so much time to make it high quality. Still holds up well 2 years later and that is hard to do nowadays.
@@sineadward5225 interestingly these days I am working with system verilog ( hardware description language) to work with FPGAs. Should take a look at it, it's very interesting fir chip design.
Great video Tim! Would love to see a follow-up video where you show how to build a web micro-service (using FastAPI) for machine learning model inference
I have been looking to get into FastAPI and compare it to Flask(which is what I usually use for a lot of dev). This was a great in depth intro and more! Thank you.
I finally understand API and all thanks to you, Tim, thank you so so much for making these! Super grateful for your sharing of knowledge!! Thanks and stay so cool :)
This was epic, I was watching for 3 hours straight, and I've implemented a chilld class of FastAPI with a function that saves data into file.json when requests succeed. Great module I love it ! & great video, thank you very much! All that is missing is the cors, xss security things, let the research continue :D
Tim, at time 26:00 you are adding things we can't see for Greater than >. Your popover window either covered it or you were showing the wrong part of the screen. So we are unable to type what you typed. Generally, your videos are really good, so please review them carefully.
Great to follow except for the part where you have your face cam over the code your write. Also when you transition from query parameters to the next topic your code for get_item is different and as we follow along we still have our required fields when trying to get an item after our 2 items added through post, the get_item method you used simply asks for the item name.
Yes, this exactly :). The video is great, but as you underline in the conclusion of the video, the important part is the difference between Path & Query which you seem to have cut in your video ! THank you for all your content Tim, keep it up !
I absolutely love you man, my genius hero! You coincidentally have videos on things I need for work AND things I'm just interested in that I thought was way too specific to me, like the NEAT series.
Consider maybe moving you're camera to the top right of the screen. Around 26:27ish you were blocking the syntax for less than and greater than operators. Not a huge deal but could make the video easier to follow.
Bye bye Django. Thanks for this excellent tutorial. Exactly what I was looking for and the automated documentation is a big win. Did the trifecta- liked , subscribed and comment ( From Singapore)
Please do some more fastapi videos, the library is still new and there isn't much tutorials out there. Great thing is that the documenting is really good.
The PUT method is not necessarily a method that updates something. For this you have PATCH method. PUT is in short : create a resource or update it if it exists.
Great Video Tim "Hey everyone! I just wanted to share my experience with different code editors. I've tried various IDEs, including VS Code and Visual Studio, and I ran into some issues that were frustrating to deal with. so its best to use sublime text like in the video
51:04 this line of code will not run because of the "Query" def delete_item(item_id: int = Query(..., description="The ID of the item to be deleted"), gt=0): At 54:00 he scrolls up and you see this at the very top of the screen. from fastapi import FastAPI, Path, Query
Not sure if this will help but for 25:00 I ran into a long error when using None inside of the Path function. if you remove it and just use the description it worked for me. Love the tutorials tim!
Hey Tim - very well structured. Thank you! Is there a github repo for the code? That would be a lot easier than typing it in and then resolving typos.💚
Pls make your cam in the top right corner and make it a bit smaler. The tutorial is very nice. When you have experience with flask fastapi is very easy to learn.
Hi Tim! please bring a video to make DB connection in FastAPI using SQLITE. Creating multiple users, authenticating and authorizing them! would be very grateful! :)
Thank you very much for this video. Just it would be nice if you add to name of video "+Swagger_UI". As I searched a lot for that and I found that it is included in this tutorial although you did not mentioned it! :)
43:49 for anyone wondering, he changed the function parameters to be def get_item(name: str = Query(None, title="Name", description="Name of item.", max_length=10, min_length=2)):
Just when i thought of learning about API, there comes Tim
me to
Same bro
I bet he can read minds😂😂
Same!
Same !
The asterisk part just cracks me up. One of those things. Super great tutorial btw, thank you for taking so much time to make it high quality. Still holds up well 2 years later and that is hard to do nowadays.
Dude. You're reading our minds. I was just thinking about learning FastAPI and, you made this video!!!
we only think of what they feed to us. not a big surprise nowadays anymore
@@aakashjana6225 What technologies are you working with/do you enjoy working with?
@@sineadward5225 interestingly these days I am working with system verilog ( hardware description language) to work with FPGAs. Should take a look at it, it's very interesting fir chip design.
Even though i know most basic and intermediate stuff, i still watch every single second of this video to not miss any information
I wish I could upvote you more! Thank you so much for all of the help you've provided me over the years. You're amazing!
Great video Tim!
Would love to see a follow-up video where you show how to build a web micro-service (using FastAPI) for machine learning model inference
I am not first.
I am not last.
But when Tim uploads, I click fast
😎😎
You should have been a rapper... Eminem needs lessons
I have been looking to get into FastAPI and compare it to Flask(which is what I usually use for a lot of dev). This was a great in depth intro and more! Thank you.
Tim is always here the same second i want to learn something. Thank you!
I have been working with Django and thinking about to give a try with fast api and flask.
And here comes Tim with a fast api tutorial, Thank you Tim
Thanks a TON for Zooming in!
I finally understand API and all thanks to you, Tim, thank you so so much for making these! Super grateful for your sharing of knowledge!! Thanks and stay so cool :)
This was epic, I was watching for 3 hours straight, and I've implemented a chilld class of FastAPI with a function that saves data into file.json when requests succeed.
Great module I love it ! & great video, thank you very much! All that is missing is the cors, xss security things, let the research continue :D
Tim, at time 26:00 you are adding things we can't see for Greater than >. Your popover window either covered it or you were showing the wrong part of the screen. So we are unable to type what you typed.
Generally, your videos are really good, so please review them carefully.
def get_item(item_id: int = Path(None, description = "The ID of the item you'd like to view.", le=1)):
Somewhere around 25 minutes, your face cam is over the relevant code. Still very informative
@Josh Yorko This comment needs to be pinned!
Better to just get rid of the face cam anyhow. Why do we need to see anyone's face between intro and outro?
def get_item(item_id: int = Path(description="the id of the item you want to view", gt=0) ):
return inventory[item_id]
You can see the code in 28:18
Great to follow except for the part where you have your face cam over the code your write. Also when you transition from query parameters to the next topic your code for get_item is different and as we follow along we still have our required fields when trying to get an item after our 2 items added through post, the get_item method you used simply asks for the item name.
Yes, this exactly :). The video is great, but as you underline in the conclusion of the video, the important part is the difference between Path & Query which you seem to have cut in your video ! THank you for all your content Tim, keep it up !
ya had the same problem. got kinda stuck lol.
Mee too! Great video but this part around 26:00 is impossible to follow.
Tim, you're the best at what you do.
Please, keep it up because we need you.
best short intro to FastAPI. Thank you Tim
Thank You Tim ,Great video I like the way how you used dictionary first then introduced classes
I absolutely love you man, my genius hero! You coincidentally have videos on things I need for work AND things I'm just interested in that I thought was way too specific to me, like the NEAT series.
great vid i didn't know you can do this until now... very infomative
Consider maybe moving you're camera to the top right of the screen. Around 26:27ish you were blocking the syntax for less than and greater than operators. Not a huge deal but could make the video easier to follow.
Just what I wanted to learn and that too in short n crisp (also enough detailed to get started). Thanks
Glad more people are trying out FastAPI ^^
Was waiting waiting for this ...first one to get it!
just watched your flask restful api and this one, perfect !
i just started a job where im going to be using FastAPI this is perfect!
Hey Tim could you make tutorials about advanced topics like Kafka and Elasticsearch with Python.
Btw great explanation.
Thank you! Best video on APIs I have watched to date
Bye bye Django. Thanks for this excellent tutorial. Exactly what I was looking for and the automated documentation is a big win. Did the trifecta- liked , subscribed and comment ( From Singapore)
Thanks
Thank you very much. That was a great experience to get to start with FastAPI
@50:51 Tim forgot to type "from fastapi import Query" on top of the code.
he really forgot that
thanks man
Waw I was just amazed how fast & easy to build an API with this framework 🚀
Long happy days of life!
Thanks.
Such an underrated video
Thanks for precise and to the point explanation of FAST-API. It was nice leaning at this pace
Please keep the FastAPI material coming!!!
That's cool and easy for those who have experience with Flask... Could make a tutorial on Python and Firebase like a backend tutorial
That would be awesome, I never used firebase, that would be nice to learn
@@mike_vahemoubayed8099 yes...
You could have used PATCH method instead of PUT method for updating items. PATCH allows you to partially update item. Btw nice video
do they work the same in terms of the perameters?
Thank you so much for this great video! It helped me finish my homework for python class which would have been due tomorrow :)
Really nice introduction to FAST API, thanks Tim
Please do some more fastapi videos, the library is still new and there isn't much tutorials out there. Great thing is that the documenting is really good.
TIM PLEASE be my dad 😩😩😩 these tutorials are amazing. I haven’t watched it yet but I saw the channel and clicked
😂
Great introduction to FastAPI. Thank You!
Thank you very much. Absolutely useful info about this framework!
Great video, I knew this was a great library that I should learn and the video did a very good job of getting my feet wet.
The PUT method is not necessarily a method that updates something. For this you have PATCH method. PUT is in short : create a resource or update it if it exists.
Its just weird to learn from someone that is under 18.. LOL
Love your channel..
Great vid Tim! Thanks.
48:17 here we can directly write inventory[item] = item and this will return the updated value
This is fantastic, Tim, I needed this for my current projects
Thank you Tim for this tutorial. Found it really useful.
Well its time to click a like bouton on all video and...tyx a lot for all you video
Hello Tim, nice tutorial. But at some parts, I couldn't see the code because of the portrait :D Are there any repo for this or something like that?
Great Video Tim
"Hey everyone! I just wanted to share my experience with different code editors. I've tried various IDEs, including VS Code and Visual Studio,
and I ran into some issues that were frustrating to deal with. so its best to use sublime text like in the video
51:04 this line of code will not run because of the "Query"
def delete_item(item_id: int = Query(..., description="The ID of the item to be deleted"), gt=0):
At 54:00 he scrolls up and you see this at the very top of the screen.
from fastapi import FastAPI, Path, Query
dude this tutorial is GREAT
waiting on a video where you use fast api to create a project 👊
A great tutorial! Very helpful, many thanks Tim
Nice, this was very helpful. But as someone else also said, there were a few times that your facecam blocked what you were typing.
This is incredible! Thank you so much!
Not sure if this will help but for 25:00 I ran into a long error when using None inside of the Path function. if you remove it and just use the description it worked for me. Love the tutorials tim!
this is for anyone that got confused on mac
@@yessirski7868 just googled it, it should be ... instead of None because this parameter must be given and cannot have default value
Very Good, from Brazil 🇧🇷😃👍
Hey Tim - very well structured. Thank you! Is there a github repo for the code? That would be a lot easier than typing it in and then resolving typos.💚
wow this was really great, can you also post videos for DS and Algos to prepare for job interviews.
Your are really awesome thank you very much, hope you make one day a video about scrapy library so that we can scrap an api from any website we want.
This guy is great! Thanks for your tutorials.
Pls make your cam in the top right corner and make it a bit smaler. The tutorial is very nice. When you have experience with flask fastapi is very easy to learn.
Very Good Explanation.Thank you
Freddy VS JSON would truly be a horrific scene.
Thanks Tim, this is insanely valuable!!!
Tons of thanks , Really Superb explanation
YES... New video from tim!!!!!!
Very helpful thx a lot. gl with ur channel in the future ;)
Great one!
Thank you for sharing!
Based Tim with the API knowledge.
Could you do a quick little tutorial on how to connect this with a persistent database
It is a nice tutorial. Thank you
Thanks Tim!
Great tutorial, thank you very much!
Great video. Thanks
amazing, thank you so much!
I love how Canadians say “about”
This was what I actually needed 😊😊😊
Nice explanation
great explanation
At 26:00 def get_item(item_id:int = Path(description="The ID of the item you would like to view",gt=0,lt=2)):
Good vid Tim!
Excellent tutorial
Thanks tim for providing this usefull contents
Thanks Tim another great tutorial i find these so usefull
Excellent!
Awesome tutorial, very helpful!
Hi Tim! please bring a video to make DB connection in FastAPI using SQLITE. Creating multiple users, authenticating and authorizing them! would be very grateful! :)
Great Job ..... Thanks
Thank you very much for this video. Just it would be nice if you add to name of video "+Swagger_UI". As I searched a lot for that and I found that it is included in this tutorial although you did not mentioned it! :)
thank's for providing a lot of information to us, but can you make a video on django rest api.