fix typo in docstring of choice type.

This commit is contained in:
Jiangge Zhang
2015-06-03 03:46:43 +08:00
parent afe4db7bbc
commit 9ac62012f4

View File

@@ -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)