1from sqlalchemy import Column, Integer, String
2from sqlalchemy.ext.declarative import declarative_base
3
4Base = declarative_base()
5
6class SomeClass(Base):
7 __tablename__ = 'some_table'
8 id = Column(Integer, primary_key=True)
9 name = Column(String(50))