dictscheme: rename from dataclass as it's confusing with builtin dataclasses
This commit is contained in:
parent
b84d2202db
commit
acee95a003
9 changed files with 34 additions and 34 deletions
|
@ -9,14 +9,14 @@ from typing import Any, Mapping, Optional
|
|||
|
||||
from config.state import config
|
||||
from constants import Arch
|
||||
from dataclass import DataClass
|
||||
from dictscheme import DictScheme
|
||||
|
||||
PMOS_ARCHES_OVERRIDES: dict[str, Arch] = {
|
||||
"armv7": 'armv7h',
|
||||
}
|
||||
|
||||
|
||||
class DeviceInfo(DataClass):
|
||||
class DeviceInfo(DictScheme):
|
||||
arch: Arch
|
||||
name: str
|
||||
manufacturer: str
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue