refactor(backups): make a dir for backuppers

This commit is contained in:
Houkime 2023-06-16 15:48:58 +00:00
parent f02e27cf06
commit 3449837de9
6 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ from typing import List
from collections.abc import Iterable
from json.decoder import JSONDecodeError
from selfprivacy_api.backup.backuper import AbstractBackuper
from selfprivacy_api.backup.backuppers import AbstractBackuper
from selfprivacy_api.models.backup.snapshot import Snapshot
from selfprivacy_api.backup.jobs import get_backup_job
from selfprivacy_api.services import get_service_by_id

View file

@ -1,5 +1,5 @@
from .provider import AbstractBackupProvider
from selfprivacy_api.backup.restic_backuper import ResticBackuper
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackuper
class Backblaze(AbstractBackupProvider):

View file

@ -1,5 +1,5 @@
from .provider import AbstractBackupProvider
from selfprivacy_api.backup.restic_backuper import ResticBackuper
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackuper
class LocalFileBackup(AbstractBackupProvider):

View file

@ -1,5 +1,5 @@
from .provider import AbstractBackupProvider
from selfprivacy_api.backup.restic_backuper import ResticBackuper
from selfprivacy_api.backup.backuppers.restic_backupper import ResticBackuper
class InMemoryBackup(AbstractBackupProvider):

View file

@ -4,7 +4,7 @@ It assumes that while some providers are supported via restic/rclone, others may
require different backends
"""
from abc import ABC
from selfprivacy_api.backup.backuper import AbstractBackuper
from selfprivacy_api.backup.backuppers import AbstractBackuper
class AbstractBackupProvider(ABC):