Initial project structure for Klangkiste
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
"""Storage interface for Box configuration and state."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Protocol
|
||||
|
||||
|
||||
class Storage(Protocol):
|
||||
def load_config(self) -> dict:
|
||||
raise NotImplementedError
|
||||
|
||||
def save_config(self, config: dict) -> None:
|
||||
raise NotImplementedError
|
||||
Reference in New Issue
Block a user