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

celery.backends.filesystem

File-system result store backend.

class celery.backends.filesystem.FilesystemBackend(url=None, open=<built-in function open>, unlink=<built-in function unlink>, sep='/', encoding='ANSI_X3.4-1968', *args, **kwargs)[source]

File-system result backend.

Parameters:
  • url (str) – URL to the directory we should use
  • open (Callable) – open function to use when opening files
  • unlink (Callable) – unlink function to use when deleting files
  • sep (str) – directory separator (to join the directory with the key)
  • encoding (str) – encoding used on the file-system
delete(key)[source]
get(key)[source]
mget(keys)[source]
set(key, value)[source]