Publish curated ITWorx-ModelForge source from 990401737f96c8d46a9f7b0d84994516cadcb6a0

This commit is contained in:
Public Source Publisher committed 2026-09-30 09:23:17 +00:00
1 parent 7082ab955a
commit 848f0d8f8a
434 files changed
+67298 -4315

No files matched your search

@@ -292,6 +292,32 @@ class BackupSetResponse(RecoveryModel):
entries: list[BackupManifestEntryResponse] = Field(default_factory=list)
class RecoveryRetentionDecision(RecoveryModel):
backup_id: str
current_state: BackupState
decision: Literal["RETAIN", "EXPIRE"]
reason: Literal[
"ACTIVE_RESTORE_IN_PROGRESS",
"LEGAL_HOLD",
"MILESTONE",
"MINIMUM_VERIFIED_BACKUPS",
"RETENTION_NOT_REACHED",
"RETENTION_ELIGIBLE",
]
expires_at: datetime | None
class RecoveryRetentionPreview(RecoveryModel):
observed_at: datetime
policy_key: str
policy_revision: int
minimum_verified_backups: int
active_restore_in_progress: bool
retained_backup_ids: list[str]
expiring_backup_ids: list[str]
decisions: list[RecoveryRetentionDecision]
class RestorePlanCreate(RecoveryModel):
backup_set_id: uuid.UUID
mode: RestoreMode