litestarEasy Playground

High-performance ASGI framework with dependency injection and OpenAPI

Getting started with litestarRun locally
Install
pip install litestar
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: litestar)

litestar is a third-party package. High-performance ASGI framework with dependency injection and OpenAPI. Install with: pip install litestar

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?