python
Installation
SKILL.md
Python Development
FastAPI Patterns
- Pydantic models for all request/response
- Dependency injection for services
- Async/await for all I/O operations
- Background tasks for heavy processing
- Proper error handling with HTTPException
Type Hints
- Required for all function signatures
- Use Optional[] for nullable params
- Use Union[] for multiple types
- Generic types for collections