mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 20:11:30 +00:00
refactor(backups): reorder imports
This commit is contained in:
parent
8604caa331
commit
e159d2f1a7
|
@ -1,19 +1,21 @@
|
|||
from operator import add
|
||||
from typing import List, Optional
|
||||
from datetime import datetime, timedelta
|
||||
from operator import add
|
||||
from os import statvfs
|
||||
|
||||
from selfprivacy_api.models.backup.snapshot import Snapshot
|
||||
from typing import List, Optional
|
||||
|
||||
from selfprivacy_api.utils import ReadUserData, WriteUserData
|
||||
|
||||
from selfprivacy_api.services import get_service_by_id
|
||||
from selfprivacy_api.services.service import Service
|
||||
|
||||
from selfprivacy_api.jobs import Jobs, JobStatus
|
||||
|
||||
from selfprivacy_api.graphql.queries.providers import (
|
||||
BackupProvider as BackupProviderEnum,
|
||||
)
|
||||
|
||||
from selfprivacy_api.models.backup.snapshot import Snapshot
|
||||
|
||||
from selfprivacy_api.backup.providers.provider import AbstractBackupProvider
|
||||
from selfprivacy_api.backup.providers import get_provider
|
||||
from selfprivacy_api.backup.storage import Storage
|
||||
|
@ -23,7 +25,6 @@ from selfprivacy_api.backup.jobs import (
|
|||
get_restore_job,
|
||||
add_restore_job,
|
||||
)
|
||||
from selfprivacy_api.jobs import Jobs, JobStatus
|
||||
|
||||
DEFAULT_JSON_PROVIDER = {
|
||||
"provider": "BACKBLAZE",
|
||||
|
|
Loading…
Reference in a new issue