class Order(object):

    def __init__(self, item_id, item_name, customer=None):
        self.item_id = item_id
self.item_name = item_name
self.customer = customer
Use a foreign key mapping to get data from the other table using Python and SQLAlchemy