This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pynamodb.models import Model | |
| from pynamodb.constants import STRING | |
| from pynamodb.attributes import UnicodeAttribute | |
| ENUM = ('FOO', 'BAR', 'BAZ') | |
| class EnumUnicodeAttribute(UnicodeAttribute): | |
| """ | |
| An enumerated unicode attribute |
NewerOlder