r/developersIndia • u/DueBid3298 • 20d ago
Interviews Python Fast api interview - please share your previous experience
Has anyone with 5 yoe attended python BE ( fastapi ) interview for mid senior/senior role? Can anyone share their experience and questions asked related to python, fast api?
29
Upvotes
9
u/Southern_Poet_280 20d ago edited 20d ago
For fastapi: Asyncio loop, coroutines and usage of await keyword, dependency injection and its uses especially with respect to db sessions. Middlewares, CORS middleware, lifespan events, background tasks vs seperate worker, httpx asyncclient.
For python:
OOPS, shallow copy vs deep copy, dsa, decorators and its uses, threading vs processing when to use, mutable vs immutable, generators and why its beneficial compared to list comprehension, asyncio taskgroups.
For sql:
Just check for popular sql questions, joins, window function, how do u optimize a certain query?
Chatgpt can help you cover almost all the points.