core.backends package

core.backends package containing additional backends for the Eonvelope application.

class core.backends.ShardedFileSystemStorage(*args, **kwargs)[source]

Bases: FileSystemStorage

FileSystemStorage backend for sharded storage.

_save(name, content)[source]

Extended method for saving files in current storage directory with safe filename.

Return type:

str

Parameters:
delete(name)[source]

Extended method for deleting files in a storage directory.

Return type:

None

Parameters:

name (str)

class core.backends.StorageIntegrityCheckBackend[source]

Bases: HealthCheck

Health check backend for core.models.StorageShard.StorageShard.healthcheck().

async run()[source]

Implements the healthcheck.

Raises:

ServiceWarning – If core.models.StorageShard.StorageShard.healthcheck() fails.

Return type:

None

__init__()
Return type:

None

Submodules