<s> from raggregate . models import * <EOL> from sqlalchemy import Column <EOL> from sqlalchemy import UnicodeText <EOL> from sqlalchemy import ForeignKey <EOL> from sqlalchemy . orm import relationship <EOL> from raggregate . models . user import User <EOL> from raggregate . guid_recipe import GUID <EOL> class UserPreference ( Base ) : <EOL> __tablename__ = '<STR_LIT>' <EOL> id = Column ( GUID , primary_key = True ) <EOL> user_id = Column ( GUID , ForeignKey ( '<STR_LIT>' ) ) <EOL> preference_list = Column ( UnicodeText ) <EOL> user = relationship ( '<STR_LIT>' , backref = '<STR_LIT>' ) <EOL> def __init__ ( self , user_id , preference_list ) : <EOL> self . user_id = user_id <EOL> self . preference_list = preference_list </s>
