Skip to content

Instantly share code, notes, and snippets.

View klrkdekira's full-sized avatar

Chee Leong klrkdekira

View GitHub Profile
@klrkdekira
klrkdekira / giistr-cla.md
Last active July 20, 2018 09:09 — forked from alex3165/giistr-cla.md
MIT CLA

Individual Contributor License Agreement (CLA)

Thank you for submitting your contributions to this project.

By signing this CLA, you agree that the following terms apply to all of your past, present and future contributions to the project.

License.

You hereby represent that all present, past and future contributions are governed by the

from sqlalchemy import create_engine, Column, Integer, String, ForeignKey
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship, sessionmaker, scoped_session
DBSession = scoped_session(sessionmaker())
Base = declarative_base()
class Words(Base):
__tablename__ = 'words'
word = Column(String, primary_key=True)