Typed object-oriented design, pytest, async HTTP clients, and a FastAPI service project.
Design classes with composition, use dataclasses and protocols, and add type hints that make refactoring safer without fighting the language.
Write focused unit tests, use fixtures and parametrization, mock at boundaries, test exceptions, and measure meaningful coverage.
Use the event loop deliberately, run concurrent requests with asyncio, add timeouts and retries, and build a typed HTTP client with HTTPX.
Build a typed API with Pydantic models, validation, dependency injection, error handling, tests, and generated OpenAPI documentation.