refactor(backups): reorder imports

This commit is contained in:
Houkime 2023-06-26 18:07:47 +00:00
parent 8604caa331
commit e159d2f1a7

View file

@ -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",