mirror of
https://github.com/fmtr/haco.git
synced 2026-12-05 14:20:02 -05:00
Improve not implemented method warning
This commit is contained in:
parent
caa19f016d
commit
1604e2447e
2 changed files with 2 additions and 2 deletions
18
haco/select.py
Normal file
18
haco/select.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
from haco.control import Control
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
class Select(Control):
|
||||
DATA = dict(
|
||||
platform='select'
|
||||
)
|
||||
|
||||
options: list[str]
|
||||
|
||||
def command(self, value):
|
||||
raise NotImplementedError()
|
||||
|
||||
def state(self, value):
|
||||
raise NotImplementedError()
|
||||
Loading…
Add table
Add a link
Reference in a new issue