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

This commit is contained in:
Houkime 2023-03-13 19:02:03 +00:00
parent a0afe63b3d
commit 6524c98131

View file

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