This document describes the current stable version of Celery (5.6). 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)

  AWS DynamoDB result backend.

  Raises:

    celery.exceptions.ImproperlyConfigured – if module https://pypi.org/project/boto3/ is not available.

  aws_region = None

    AWS region (default)

  property client
  delete(key)
  endpoint_url = None

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

  get(key)
  implements_incr = True
  incr(key: bytes) → int

    Atomically increase the chord_count and return the new count

  mget(keys)
  read_capacity_units = 1

    Read Provisioned Throughput (default)

  set(key, value)
  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)