From 36907aa9c26afa60b7ab7519ad118d1e501a37ba Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 13 Mar 2023 19:02:03 +0000 Subject: [PATCH] refactor(backups): add a provider model for redis storage --- selfprivacy_api/models/backup/provider.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 selfprivacy_api/models/backup/provider.py diff --git a/selfprivacy_api/models/backup/provider.py b/selfprivacy_api/models/backup/provider.py new file mode 100644 index 0000000..e454c39 --- /dev/null +++ b/selfprivacy_api/models/backup/provider.py @@ -0,0 +1,9 @@ +from pydantic import BaseModel + +"""for storage in Redis""" + + +class BackupProviderModel(BaseModel): + kind: str + login: str + key: str