susantabiswas/FaceRecog

View on GitHub
face_recog/persistent_storage.py

Summary

Maintainability
A
0 mins
Test Coverage
# ---- coding: utf-8 ----
# ===================================================
# Author: Susanta Biswas
# ===================================================
"""Description: Abstract base class to handle persistent data 
storage"""
# ===================================================
from abc import ABC, abstractmethod


class PersistentStorage(ABC):
    @abstractmethod
    def add_data(self):
        pass

    @abstractmethod
    def get_all_data(self):
        pass