Object Relational Mapper Python Code For Snake