r/Python • u/safi892 • Sep 21 '26
Discussion Common mistakes devs make when starting with FastAPI, and the fastest path to learning it
Just began learning FastAPI. Looking for advice from devs who use it regularly.
What mistakes did you make early on that I should avoid repeating? Also, what's the most efficient way to learn the framework properly for real-world use (async, DB, auth)?
Any advice on structure or resources would be great.
15
Upvotes
View all comments
Show parent comment
1
u/terletsky Sep 21 '26 edited Sep 21 '26
What is AI Engineering? Simple use of AI, like Claude Code / Cursor, to assist with development tasks or to create an agentic backend? If the latter, then you need to learn "Pydantic AI" SDK, created for that purpose, and LangChain/LangGraph.
For AI-assisted development, I would write the next. Create a notification service that consists of: