deriva.transfer.backup package

Submodules

deriva.transfer.backup.deriva_backup module

class deriva.transfer.backup.deriva_backup.DerivaBackup(*args, **kwargs)[source]

Bases: deriva.transfer.download.deriva_download.DerivaDownload

BASE_ASSET_OUTPUT_PATH = 'assets'
BASE_CONFIG = {'catalog': {'query_processors': []}}
BASE_DATA_OUTPUT_PATH = 'records/{}/{}'
BASE_DATA_QUERY_PATH = '/entity/{}:{}'
BASE_SCHEMA_QUERY_PROC = {'processor': 'json', 'processor_params': {'output_path': 'catalog-schema', 'query_path': '/schema'}}
download(**kwargs)[source]
generate_asset_configs()[source]

deriva.transfer.backup.deriva_backup_cli module

class deriva.transfer.backup.deriva_backup_cli.DerivaBackupCLI(description, epilog, **kwargs)[source]

Bases: deriva.transfer.download.deriva_download_cli.DerivaDownloadCLI

classmethod get_downloader(*args, **kwargs)[source]

Module contents

exception deriva.transfer.backup.DerivaBackupAuthenticationError[source]

Bases: deriva.transfer.download.DerivaDownloadAuthenticationError

exception deriva.transfer.backup.DerivaBackupAuthorizationError[source]

Bases: deriva.transfer.download.DerivaDownloadAuthorizationError

exception deriva.transfer.backup.DerivaBackupConfigurationError[source]

Bases: deriva.transfer.download.DerivaDownloadConfigurationError

exception deriva.transfer.backup.DerivaBackupError[source]

Bases: deriva.transfer.download.DerivaDownloadError