tessl install tessl/pypi-sqlmodel@0.0.0SQLModel, SQL databases in Python, designed for simplicity, compatibility, and robustness.
Agent Success
Agent success rate when using this tile
85%
Improvement
Agent success rate improvement when using this tile compared to baseline
1x
Baseline
Agent success rate without this tile
85%
Build a REST API service for managing products in an e-commerce system. The service should provide endpoints for creating, reading, updating, and listing products with proper validation.
Products have the following attributes:
Implement the following REST endpoints:
POST /products/ - Create a new product
GET /products/{product_id} - Get a single product by ID
GET /products/ - List all products
PATCH /products/{product_id} - Update an existing product
@generates
Use an in-memory SQLite database for storage.
# FastAPI application with product management endpointsProvides database ORM with data validation support.
Web framework for building APIs.
ASGI server for running FastAPI applications.