Pydantic vs Sqlalchemy Models: Part #52 Python API Course

preview_player
Показать описание
Enjoy this completely free 19 hour course on developing an API in python using FastAPI. We will build a an api for a social media type app as well as learn to setup automatic tests and deploy the app and finally we'll also learn how to setup a CI/CD workflow using github actions.

Full Course Playlist:

Github Repo:

If you like this video please subscribe to this channel. Don't let me go hungry! 🎁

▬▬▬▬▬▬ Support this garbage Channel 🍒 ▬▬▬▬▬▬

▬▬▬▬▬▬ Stalk me on Social Media 😲 ▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор

This is a perfect explanation!
Thank you for sharing!

rmatveev
Автор

Since creation of the database.py and models.py, I'm getting always ImportError: attempted relative import with no known parent package.
When I comment out "from . import models" and "from .database import engine, get_db" and use both without the "." notation, I'm able to connect to the DB, but Postman can't sent any request and gets "500 Internal Server Error", sometimes by switching between the with "." and without "." import it worked at least for the POST request.

xzocmri
Автор

I missed how to use them both, combined... But yes, it clarified some of my misundestanding

vlmo
visit shbcf.ru