DEV Community

Discussion on: Build simple API service with Python FastAPI — Part 1

Collapse
 
santosh profile image
Santosh Kumar

What is difference between yield vs return in get_db()?