PyNesca/modules/storage/AbstractStorage.py

13 lines
201 B
Python

from abc import ABC, abstractmethod
class AbstractStorage(ABC):
@abstractmethod
def put_responce(self, address, responce):
pass
@abstractmethod
def save(self):
pass