mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 14:01:30 +00:00
refactor(backups): add a provider model for redis storage
This commit is contained in:
parent
a0afe63b3d
commit
6524c98131
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