forked from p34709852/monkey
Common: Annotate HardwareID as a TypeAlias
This commit is contained in:
parent
b1f15b59f7
commit
cff363597a
|
@ -1,3 +1,5 @@
|
||||||
|
from typing import TypeAlias
|
||||||
|
|
||||||
from pydantic import PositiveInt
|
from pydantic import PositiveInt
|
||||||
|
|
||||||
HardwareID = PositiveInt
|
HardwareID: TypeAlias = PositiveInt
|
||||||
|
|
Loading…
Reference in New Issue