Subject revision

FastAPI

FastAPI fundamentals for backend interviews.

Clear

Results update as you type. Press / to jump straight into search.

FastAPI cards

12 cards

FastAPI Medium Theory

async and await in FastAPI

Use async endpoints when the work awaits non-blocking I O; sync endpoints are fine for CPU work or blocking libraries.

  • Async improves concurrency for waits
  • Do not block the event loop
  • Choose library support carefully

async and await in FastAPI