mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 13:01:28 +00:00
refactor(backups): add a provider model for redis storage
This commit is contained in:
parent
f785e6724a
commit
36907aa9c2
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