BillionToOne interview question

Code object relational mapping functions in Python