refactor(services): make get_folders() a mandatory part of Service interface

restic-rewrite-api
Houkime 2023-04-17 13:53:51 +00:00
parent 8a4f256c12
commit a34b14449b
1 changed files with 4 additions and 4 deletions

View File

@ -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: