From a34b14449b0304b99e6de2e8a9469a92380a29a5 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 17 Apr 2023 13:53:51 +0000 Subject: [PATCH] refactor(services): make get_folders() a mandatory part of Service interface --- selfprivacy_api/services/service.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/selfprivacy_api/services/service.py b/selfprivacy_api/services/service.py index 9ca8eba..192f98e 100644 --- a/selfprivacy_api/services/service.py +++ b/selfprivacy_api/services/service.py @@ -135,10 +135,10 @@ class Service(ABC): def get_drive() -> str: pass - # @staticmethod - # @abstractmethod - # def get_folders() -> str: - # pass + @staticmethod + @abstractmethod + def get_folders() -> str: + pass @staticmethod def get_foldername(path: str) -> str: