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

15 lines
262 B
Python
Raw Normal View History

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