mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 13:01:28 +00:00
15 lines
262 B
Python
15 lines
262 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Backups:
|
|
"""A singleton controller for backups"""
|
|
|
|
|
|
class AbstractBackuper(ABC):
|
|
def __init__(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def start_backup(self, folder: str):
|
|
raise NotImplementedError
|