refactor(backups): add a provider model for redis storage

restic-rewrite-api
Houkime 2023-03-13 19:02:03 +00:00
parent a0afe63b3d
commit 6524c98131
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
from pydantic import BaseModel
"""for storage in Redis"""
class BackupProviderModel(BaseModel):
kind: str
login: str
key: str