human
I am working on the file "Jupyter-SQLAlchemy.ipynb".
The first task is:
Classes have RDBMS table attributes:
- Columns have datatypes (Integer, Float, etc.)
- Columns have constraints (Primary Key, Foreign Key, etc.)
Can you write Python code for it?
 ... Write me a the Python code you requested?
assistant
#Here is the Python code you requested.

from sqlalchemy import Column, Integer, String
class User(Base):
    __tablename__ = 'users'
    
    id = Column(Integer, primary_key=True)
    name = Column(String)
    fullname = Column(String)
    password = Column(String)
    
    # Defines to_string() representation 
    def __repr__(self):
        return "<User(name='%s', fullname='%s', password='%s')>" % (
                self.name, self.fullname, self.password)