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

celery.backends.gcs

Google Cloud Storage result store backend for Celery.

class celery.backends.gcs.GCSBackend(**kwargs)[source]

Google Cloud Storage task result backend.

Uses Firestore for chord ref count.

property firestore_client

Returns a firestore client.

implements_incr = True
incr(key: bytes) int[source]
on_chord_part_return(request, state, result, **kwargs)[source]

Chord part return callback.

Called for each task in the chord. Increments the counter stored in Firestore. If the counter reaches the number of tasks in the chord, the callback is called. If the callback raises an exception, the chord is marked as errored. If the callback returns a value, the chord is marked as successful.

supports_native_join = True

If true the backend must implement get_many().