Start up a lambda-like docker container:
docker run -i -t -v /tmp:/var/task lambci/lambda:build /bin/bash
Install some dependencies inside the container:
yum install gperf freetype-devel libxml2-devel git libtool -y
easy_install pip
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 |