Merge pull request #149 from tonyseek/fix-typo

Fix typo in docstring of choice type.
This commit is contained in:
Konsta Vesterinen
2015-06-08 16:29:14 +03:00

View File

@@ -129,7 +129,7 @@ class ChoiceType(types.TypeDecorator, ScalarCoercible):
__tablename__ = 'user' __tablename__ = 'user'
id = sa.Column(sa.Integer, primary_key=True) id = sa.Column(sa.Integer, primary_key=True)
name = sa.Column(sa.Unicode(255)) name = sa.Column(sa.Unicode(255))
type = sa.Column(ChoiceType(TYPES)) type = sa.Column(ChoiceType(UserType, impl=sa.Integer()))
user = User(type=UserType.admin) user = User(type=UserType.admin)