mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-10-31 17:17:17 +00:00
refactor(backups): remove excessive imports
This commit is contained in:
parent
76f5b57c86
commit
f5d7666614
|
@ -12,7 +12,6 @@ from selfprivacy_api.models.backup.snapshot import Snapshot
|
||||||
from selfprivacy_api.utils.huey import huey
|
from selfprivacy_api.utils.huey import huey
|
||||||
from huey import crontab
|
from huey import crontab
|
||||||
|
|
||||||
from selfprivacy_api.services.service import Service
|
|
||||||
from selfprivacy_api.services import get_service_by_id
|
from selfprivacy_api.services import get_service_by_id
|
||||||
from selfprivacy_api.backup import Backups
|
from selfprivacy_api.backup import Backups
|
||||||
from selfprivacy_api.backup.jobs import add_autobackup_job
|
from selfprivacy_api.backup.jobs import add_autobackup_job
|
||||||
|
|
|
@ -14,7 +14,6 @@ from selfprivacy_api.graphql.common_types.backup import (
|
||||||
from selfprivacy_api.backup import Backups, Snapshot
|
from selfprivacy_api.backup import Backups, Snapshot
|
||||||
from selfprivacy_api.backup.tasks import (
|
from selfprivacy_api.backup.tasks import (
|
||||||
prune_autobackup_snapshots,
|
prune_autobackup_snapshots,
|
||||||
automatic_backup,
|
|
||||||
do_autobackup,
|
do_autobackup,
|
||||||
)
|
)
|
||||||
from selfprivacy_api.backup.jobs import autobackup_job_type
|
from selfprivacy_api.backup.jobs import autobackup_job_type
|
||||||
|
|
Loading…
Reference in a new issue