Whenever you're ready, walk me through how you'd approach this.
A simple OOPS-based question with testing
Implement a small Python ETL component using object-oriented design. The component should read records, validate required fields, transform valid records, persist the results, and expose clear errors for invalid input. Write unit tests with pytest covering successful processing, invalid records, empty input, idempotent reruns, and persistence failures. Explain how the design separates responsibilities and how the component could be invoked from an Apache Airflow task.