Releases: MyMusicTaste/InPynamoDB
Releases · MyMusicTaste/InPynamoDB
v0.0.16 release
- Update required libraries
- aiobotocore to 0.9.2
v0.0.15 release
- Add
include_none
keyword argument toas_dict()
method, which default isTrue
. - If
include_none
is True, all attributes on model including None value will be returned, otherwise, it will behave like before. - Fix
aiohttp
version to 3.1.0 to fix version conflict.
v0.0.14 release
<fix>: Update to 0.0.14 - Update package: aiobotocore 0.6.0 to aiobotocore 0.8.0
v0.0.13
v0.0.12
Now support particular AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
on Model's Meta class.
e.g.)
class User(Model):
"""
MMT User base model
"""
class Meta:
table_name = "User"
host = settings.DYNAMODB_HOST
write_capacity_units = settings.DYNAMODB_WRITE_CAPACITY_UNITS
read_capacity_units = settings.DYNAMODB_READ_CAPACITY_UNITS
# Provide AWS credentials here
aws_access_key_id = settings.AWS_ACCESS_KEY_ID
aws_secret_access_key = settings.AWS_SECRET_ACCESS_KEY
If not provided, this will act like previous behaviour.
v0.0.11
v0.0.7 - alpha
- UUIDAttribute()
- as_dict() on AttributeContainer
- will get a new event loop when loop is not running. (occurred when testing)
- from_raw_data() is applied on model.update()