selfprivacy-rest-api/selfprivacy_api/backup/__init__.py

15 lines
262 B
Python
Raw Normal View History

2023-02-08 14:05:25 +00:00
from abc import ABC, abstractmethod
class Backups:
"""A singleton controller for backups"""
class AbstractBackuper(ABC):
def __init__(self):
2023-02-08 14:05:25 +00:00
pass
@abstractmethod
def start_backup(self, folder: str):
raise NotImplementedError