celery.backends.dynamodb

AWS DynamoDB result store backend.

class celery.backends.dynamodb.DynamoDBBackend(url=None, table_name=None, *args, **kwargs)[исходный код]

AWS DynamoDB result backend.

Исключение:

celery.exceptions.ImproperlyConfigured – if module 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)[исходный код]
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)

Вернуться на верх