<s> import datetime <EOL> from sqlalchemy . ext . declarative import declarative_base <EOL> from sqlalchemy import Column , Integer , Text , DateTime , ForeignKey <EOL> from sqlalchemy . orm import relationship <EOL> Base = declarative_base ( ) <EOL> class User ( Base ) : <EOL> __tablename__ = '<STR_LIT>' <EOL> id = Column ( Integer , primary_key = True ) <EOL> full_name = Column ( Text ) <EOL> created_at = Column ( DateTime , default = datetime . datetime . utcnow ) <EOL> address = relationship ( "<STR_LIT>" , uselist = False , backref = "<STR_LIT:user>" ) <EOL> class Address ( Base ) : <EOL> __tablename__ = '<STR_LIT>' <EOL> id = Column ( Integer , primary_key = True ) <EOL> description = Column ( Text , unique = True ) <EOL> user_id = Column ( Integer , ForeignKey ( '<STR_LIT>' ) ) </s>
