mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 14:01:30 +00:00
refactor(services): make get_folders() a mandatory part of Service interface
This commit is contained in:
parent
8a4f256c12
commit
a34b14449b
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue