susantabiswas/FaceRecog

View on GitHub
face_recog/in_memory_cache.py

Summary

Maintainability
A
0 mins
Test Coverage
# ---- coding: utf-8 ----
# ===================================================
# Author: Susanta Biswas
# ===================================================
"""Description: Abstract class for handling data management in memory
 cache"""
# ===================================================
from abc import ABC, abstractmethod


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

    @abstractmethod
    def get_all_data(self):
        pass