Комментарии:
Great video. Could you share the repo link by any chance please?
Ответитьi watched your three times but i am got same error my question pass in db perfectly but choices doesnt put,
Ответитьvery nice and easy way of teaching
ОтветитьHi Eric I hope you're doing well,
I have a slight issue when I paste the URL on my browser i keep getting "detail" : "not found". If anyone could help me please ?
Can you share github repo with that project ?
ОтветитьGreat tutorial. Very quick and to the point. It would be interesting to see a video about releasing a FastAPI/React/Postgres application to AWS or GCP.
Ответитьclass with a plural name are bad form but this is a nice video, props
ОтветитьGreat job buddy!.. very clear and concise
Ответитьthanks, it's been helpful
ОтветитьI would love this tutorial but showing how to use relationships. For instance how would you make it pull all the answers automagically when the question is pulled?
ОтветитьGreate tutorial!! how can we update database if we made changes from models? I really appreciate!
ОтветитьAbsolute usefull tutorial. Found it... ughhh finally. Thank you! It was pretty hard to understand db_dependency = Annotated[Session, Depends(get_db)] logic, but with gpt i think I got it. Didnt get about async without await thing.... but I just think it some kind of inner processes of FastAPI requires it. Anyways thank you!
ОтветитьThank you, Eric. Really helpful
Ответитьpgadmin video link please
Ответитьno homo, I love you for this. Thank you.
ОтветитьGreat video
ОтветитьWatching on my phone, can’t wait to follow along I actually need to fully understand this for work. Thanks man
ОтветитьNice video, if beginner level. Only recommendation I have is a github repo with the code.
Ответитьthank u man!!! i don't understand all ur words, because my english not good. But this video was better than videos in my native language. I hope that u do more videos about FastAPI, actually FastUI. Thank u so much another time.
ОтветитьVery Great Tutorial, Greetings from Egypt
ОтветитьHey Eric, great video. I'm slowly working towards getting this deployed to Heroku, and they require SSL. Unfortunately that screws up the local DB development environment connection, so I came up with a solution that I hope works when I deploy. Heroku uses os.environ['DATABASE_URL] to set the database URL, so for development, I also saved a system variable for my local connection. To get around SSL, I saved an additional local connection variable in .env, and the process checks if the system variable matches the .env variable. If it does, then it's local, and can drop the SSL:
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from dotenv import load_dotenv
import os
load_dotenv()
DATABASE_URL = os.environ['DATABASE_URL']
DATABASE_LOCAL = os.getenv('DATABASE_LOCAL')
if (DATABASE_URL == DATABASE_LOCAL):
engine = create_engine(DATABASE_URL)
else:
engine = create_engine(DATABASE_URL, connect_args={"sslmode": "require"})
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
Base = declarative_base()
---
Anyway, no idea if this will work. Fingers crossed
nice video! do you have one implementing postgres + data validation + docs + auth?
Ответитьi need your help
ОтветитьThank you so much for this video!
I'm so sorry to ask about it, but how to turn on same auto completion for code which you use in VS code...
Somehow the VS code offers you everything even at the moment of importing libraries..
Amazing video! I love how you break down complex concepts into simple steps, and the pace is perfect for a beginner like me :) I'm definitely buying your Udemy course. Looking forward to building my next API with FastAPI!
ОтветитьThis is a really great video, however I'm getting winerror 10013 an attempt was made to access a socket in a way forbidden by its access permissions error. Kindly help and let me know where I went wrong
ОтветитьI'm disappointed. Users could learn more from the ChatGPT than watching this video. You didn't show Async SQLAlchemy which is a challenging topic. Sync SQLAlchemy is pretty straightforward.
ОтветитьPlease when you're making tutorials don't just read the lines. We can read ourselves. We'd appreciate it if you could briefly mention why we need each line.
But either way, Thank you very much for this tutorial it helped me get a clear overview of how to use FastAPI with PostgreSQL
Great, to the point video, and love the bg music
Ответитьhello mr Eric
i am Medany from EGY i'm a jr DevOps Engineer and try to improve my python skills
That was great video, but my comment at the your next videos i hope u explain each library usage or any section at the code such "async"
thanks for ur help♥
I have watched tons of tutorial about FastAPI, and this is by far the best one. You do not just show us how to write FastAPI, you actually showed the whole setup, how what links to what, what models are, how they link to database and postgresql. This is 27mins+ and its way more useful than 1hr+ videos I have watched. Not to mention that your tone is soft and encouraging. God bless you!
ОтветитьQuality. Thanks.
ОтветитьThank you for this useful content!
Ответить감사합니다 ^^
ОтветитьThe translation of the text into English is:
Eric which extension for VSCode do you use to support (provide suggestions) when writing code in FastAPI?
very good!!! but i had problems with utf8 decode, so i changed the conection using URL.CREATE from sqlalchemy, describing username, password, host etc. :)
ОтветитьFrom the bottom of my heart, thank you for sharing your knowledge, your examples are so clean that they make I want to learn more a more. Regards from Mexico a God bless you! Keep the excellent job.
ОтветитьGreat content, one suggestion the green border around the image is very distracting 😅
ОтветитьThe "Just repeat after me" type of training format is very stupid and pointless. It does not give the most important thing - understanding.
Ответитьsir i dont understand, postgresql on my computer, works with schemas that are like "sub-db" under the db, i'm confused seeing you code like it has no schema like in mySQL, how can i specify a schema i want to work in ?
Ответитьwhy even use async keyword or FastApi when you are not even using any await expression?
Using async without await totally destroys the purpose of FastApi.
How are you able to simply return the get requests ? dont they return an object?
ОтветитьGreat video! Quick question: it seems the sqlalchemy orm codes do not work in the async manner. Is there any problem to define route functions as async functions while doing DB operations synchronously?
ОтветитьIf you want to use the async functions shouldn’t you be using the create_async_engine function
Ответить