123456789101112131415161718192021 |
- from abc import ABC, abstractmethod
- class SharedDict(ABC):
- @abstractmethod
- def get_int(self, key):
- pass
- @abstractmethod
- def set_int(self, key, value):
- pass
- @abstractmethod
- def get_str(self, key):
- pass
- @abstractmethod
- def set_str(self, key, value):
- pass
|