From 6524c981313016cb3f68ca1cbb3c3040eabe9e75 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