Added saving and filling buttons from file.
TODO: Fix too long names and add functionality that removes buttons that are removed from list
This commit is contained in:
10
modules/padslist/model.py
Normal file
10
modules/padslist/model.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from dataclasses import dataclass
|
||||
from dataclasses_json import dataclass_json
|
||||
from typing import Dict
|
||||
|
||||
|
||||
@dataclass_json
|
||||
@dataclass(frozen=True)
|
||||
class PadsModel:
|
||||
first_pads: Dict[str, str]
|
||||
second_pads: Dict[str, str]
|
||||
Reference in New Issue
Block a user