Software Engineering Radio - the podcast for professional software developers

SE Radio 624: Marcelo Trylesinski on FastAPI

80 snips
Jul 16, 2024
Marcelo Trylesinski, a senior software engineer at Pydantic, discusses FastAPI with a focus on performance, usability, and authentication. Topics include using Rust for input validation, framework comparisons with Uvicorn and Starlet, and designing, implementing, and testing FastAPI. The podcast explores API fundamentals, strategies for deployment, and the importance of authentication in FastAPI applications.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

FastAPI Success Story

  • Netflix uses FastAPI for an open-source project called Dispatch.
  • Microsoft also uses FastAPI in some of their projects.
INSIGHT

API Standards

  • OpenAPI defines API structure for HTTP methods, but not WebSockets.
  • ASGI is an interface for building Python web frameworks with async capabilities.
ADVICE

Generating OpenAPI Documentation

  • FastAPI automatically generates OpenAPI documentation by inspecting endpoint functions and their type hints.
  • Add metadata and response information in the decorator for exceptions and details not captured by type hints.
Get the Snipd Podcast app to discover more snips from this episode
Get the app