File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2020 UIWidget ,
2121 UpdateBoxStatus ,
2222)
23+ from pyoverkiz .enums .command import OverkizCommand , OverkizCommandParam
2324from pyoverkiz .enums .protocol import Protocol
2425from pyoverkiz .obfuscate import obfuscate_email , obfuscate_id , obfuscate_string
2526from pyoverkiz .types import DATA_TYPE_TO_PYTHON , StateType
@@ -423,12 +424,12 @@ class Command:
423424 """Represents an OverKiz Command."""
424425
425426 type : int | None = None
426- name : str
427- parameters : list [str | int | float ] | None
427+ name : OverkizCommand
428+ parameters : list [str | int | float | OverkizCommandParam ] | None
428429
429430 def __init__ (
430431 self ,
431- name : str ,
432+ name : OverkizCommand ,
432433 parameters : list [str | int | float ] | None = None ,
433434 type : int | None = None ,
434435 ** _ : Any ,
You can’t perform that action at this time.
0 commit comments