This document describes the current stable version of Celery (5.0). For development docs, go here.

celery.backends.dynamodb

AWS DynamoDB result store backend.

class celery.backends.dynamodb.DynamoDBBackend(url=None, table_name=None, *args, **kwargs)[source]

AWS DynamoDB result backend.

Raises

celery.exceptions.ImproperlyConfigured – if module boto3 is not available.

aws_region = None

AWS region (default)

property client
delete(key)[source]
endpoint_url = None

The endpoint URL that is passed to boto3 (local DynamoDB) (default)

get(key)[source]
mget(keys)[source]
read_capacity_units = 1

Read Provisioned Throughput (default)

set(key, value)[source]
supports_autoexpire = True

If true the backend must automatically expire results. The daily backend_cleanup periodic task won’t be triggered in this case.

table_name = 'celery'

default DynamoDB table name (default)

time_to_live_seconds = None

Item time-to-live in seconds (default)

write_capacity_units = 1

Write Provisioned Throughput (default)