a guest Apr 19th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- from sqlalchemy import Column, types
- from sqlalchemy.ext.declarative import declarative_base
- Base = declarative_base()
- class Person(Base):
- __tablename__ = 'person'
- id = Column('person_id', types.Integer)
- login_type = Column(types.Enum('sso', 'local', name='login_type',
RAW Paste Data