Skip to main content

Extra fields to integrate Marshmallow and DynamoDb

Project description


Example usage:

from datetime import datetime
from marshmallow import Schema
from marshmallow_dynamodb.fields import DynamoDBDateTime

class SchemaFixture(Schema):
    some_field = DynamoDBDateTime()

data, errors = SchemaFixture().load({'some_field':})
# UnmarshalResult(data={'some_field': datetime.datetime(2018, 11, 22, 17, 37, 55)}, errors={})

# MarshalResult(data={'some_field': 1542915517.0}, errors={})

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marshmallow-dynamodb-0.0.9.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page