mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-11 18:39:30 +00:00
refactor(backups): add a provider model for redis storage
This commit is contained in:
parent
873bc8282e
commit
48dc63a590
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…
Reference in a new issue