mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-03-18 20:39:46 +00:00
refactor(backups): add a provider model for redis storage
This commit is contained in:
parent
873bc8282e
commit
48dc63a590
1 changed files with 9 additions and 0 deletions
9
selfprivacy_api/models/backup/provider.py
Normal file
9
selfprivacy_api/models/backup/provider.py
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
"""for storage in Redis"""
|
||||||
|
|
||||||
|
|
||||||
|
class BackupProviderModel(BaseModel):
|
||||||
|
kind: str
|
||||||
|
login: str
|
||||||
|
key: str
|
Loading…
Add table
Reference in a new issue