Merge pull request #149 from tonyseek/fix-typo
Fix typo in docstring of choice type.
This commit is contained in:
@@ -129,7 +129,7 @@ class ChoiceType(types.TypeDecorator, ScalarCoercible):
|
||||
__tablename__ = 'user'
|
||||
id = sa.Column(sa.Integer, primary_key=True)
|
||||
name = sa.Column(sa.Unicode(255))
|
||||
type = sa.Column(ChoiceType(TYPES))
|
||||
type = sa.Column(ChoiceType(UserType, impl=sa.Integer()))
|
||||
|
||||
|
||||
user = User(type=UserType.admin)
|
||||
|
Reference in New Issue
Block a user