18 lines
347 B
Python
18 lines
347 B
Python
"""Backup"""
|
|
# pylint: disable=too-few-public-methods
|
|
import strawberry
|
|
from enum import Enum
|
|
|
|
|
|
@strawberry.enum
|
|
class RestoreStrategy(Enum):
|
|
INPLACE = "INPLACE"
|
|
DOWNLOAD_VERIFY_OVERWRITE = "DOWNLOAD_VERIFY_OVERWRITE"
|
|
|
|
|
|
@strawberry.enum
|
|
class BackupReason(Enum):
|
|
EXPLICIT = "EXPLICIT"
|
|
AUTO = "AUTO"
|
|
PRE_RESTORE = "PRE_RESTORE"
|