Spaces:
Sleeping
Sleeping
| from abc import ABC, abstractmethod | |
| from typing import Any | |
| class Storage(ABC): | |
| def __init__(self, path: str) -> None: | |
| self.path = path | |
| def save(self, data: Any) -> None: | |
| raise NotImplementedError | |
| def load(self) -> Any: | |
| raise NotImplementedError | |